This method of the Direct3dExecuteBuffer Class describes the transformation state for the STATETRANSFORM instruction.
public int stateTransFormData(int flags, int Arg, int bufferindex);
Returns the number of 32-bit values added.
flags | Can be one of the following flags:
D3DTRANSFORMSTATE_WORLD |
Arg | The handle of the matrices for the world, view, and projection transformations. The default values for these are null. |
bufferindex | The position in the execute buffer to place the instruction. |
The execute buffer is treated as an array of 32-bit values, which is a collection of floats and ints that describe vertices and instructions. It is up to the user to manage the position of each item added to the buffer.