Jump to content
  • Advertisement
Sign in to follow this  
bshiro

about VBO and vertex processing

This topic is 3021 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

Does every vertex in the VBO actually gets through the vertex processing stage in the graphics pipeline after a glDrawElements call? If so, is there a way to specify how many verts to be used for a draw call? The vertices are stored in a big VBO, but only a chunk of it is actually used.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by bshiro

Does every vertex in the VBO actually gets through the vertex processing stage in the graphics pipeline after a glDrawElements call?

No, only the indexed ones. And there is a vertex cache storing the result of the vertex shader applied to a vertex, so that the same vertex indexed again while still in the cache does not need to be transformed again.

Share this post


Link to post
Share on other sites

Quote:
Original post by nmi
No, only the indexed ones. And there is a vertex cache storing the result of the vertex shader applied to a vertex, so that the same vertex indexed again while still in the cache does not need to be transformed again.


do you have a reference telling that? i'd like to read more on it. thanks

Share this post


Link to post
Share on other sites
Yes, you can specify how many vertices to use for the draw call, and the amount of vertices that get process is dependent on how many you specify.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!