This method of the Direct3dExecuteBuffer Class sets the number of TRIANGLE instructions that will proceed with this instruction in the execute buffer. This method emulates the similar macro found in the Direct3d d3dmacs.h header file.
public int triangleList(int cnt, int bufferindex);
Returns the number of 32-bit values added.
cnt | The number of instructions. |
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.