Jump to content
  • Advertisement
Sign in to follow this  
noatom

Can streams be used this way?

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

I'm talking about dx 9 here.

 

Assume you have 2 vertex buffers,each containing 4 vertices.

 

You bind buffer 1 to stream 0,buffer 2 to stream 1.

 

Then you have an index buffer that contains indices that make use of a TOTAL OF 8 vertices.

 

Could you bind the index buffer,so it uses the indices on both stream 0 and stream 1?

 

If it works,then indice 0 means the first vertex in stream 0 or stream 1?

Share this post


Link to post
Share on other sites
Advertisement

No, you can't do that. Both streams must have enough vertices for the highest index in the index buffer

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!