This is a method of the IDirect3dExecuteBuffer Interface.
public int stateRender(int cnt, int bufferindex);