Table of contents
Collapse the table of content
Expand the table of content

Setting the Current Index Buffer

Last Updated: 2/14/2017

As with vertex data, the index buffer to be used by drawing primitives is no longer part of the data passed to the driver with the primitive, but rather is driver state. The current index buffer is set by a new DP2 token, D3DDP2OP_SETINDICES. This token established the index buffer with the given handle as the current index buffer to use when drawing indexed primitives until a new index buffer is set or the current index buffer is cleared (an index buffer handle of zero is specified in the DP2 token data).

Send comments about this topic to Microsoft

© 2017 Microsoft