This method of the Direct3dExecuteBuffer Class adds a lit, untransformed vertex to the execute buffer at the position indicated by the bufferindex.
public int addLVertexData(D3dLVertex vertex, int bufferindex);
Returns the number of 32-bit values added.
vertex | A D3dVertex object. |
bufferindex | The position in the execute buffer to place the vertex. |
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.