SetIndexBuffer
Last updated
Last updated
Assigns a buffer to a specific index.
bufferIndex
- A number representing the index to assign the buffer to.
buffer
- A object to be assigned to the specified index.
This method does not return a value.
The SetIndexBuffer
method assigns a buffer to a specific index. This is necessary after creating a buffer with CreateIndexBuffer to specify which index the buffer should be associated with. The index must be less than the number of buffers specified with IndicatorBuffers.