Original Post
🔒 Locked
Difference between VB's & IB's
Advertisement
Just so I understand this correctly...
An index in my IB holds the number of vertex I am currently working with? For instance, the first vertex in the VB is at (1.3, 3.2, 5.0) and has the index of 0, the second vertex in my VB is at (0.0, 2.5, 2.0) and has the index of 1, and so on? Or am I completely wrong?
When I create a vertex buffer is an index buffer automatically created with it? What is the relationship between the two?
Thanks for the info,
~ Ryan
An index in my IB holds the number of vertex I am currently working with? For instance, the first vertex in the VB is at (1.3, 3.2, 5.0) and has the index of 0, the second vertex in my VB is at (0.0, 2.5, 2.0) and has the index of 1, and so on? Or am I completely wrong?
When I create a vertex buffer is an index buffer automatically created with it? What is the relationship between the two?
Thanks for the info,
~ Ryan
VBs are from Mars. IBs are from Venus.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement