Archived

This topic is now archived and is closed to further replies.

Direct3D indexed primitive

This topic is 5184 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Indices are not part of vertex buffer. You make index buffer with IDirect3DDevice9::CreateIndexBuffer method, and set it with call to IDirect3DDevice9::SetIndices. It is well explained in section Index Buffers in SDK.

Share this post


Link to post
Share on other sites
Use the Search on the forum. This question has been asked and answered dozens of times.

Tom Forsyth has a very good explanation on the topic on his web site. You might want to check it out.
http://tomsdxfaq.blogspot.com/2002_05_01_tomsdxfaq_archive.html

neneboricua

Share this post


Link to post
Share on other sites