Advertisement Jump to content
Sign in to follow this  
Mathy

Drawing several types of things with a single hardware instancing call?

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

Hi there.

I'm drawing both a lot of triangles, and a lot of spheres. Currently, I am seperating them up into 2 hardware instancing draw calls, because both the sphere and the triangle have different vertex- and indexbuffers.

Is it possible to somehow merge that into a single draw call? If yes, how?

Share this post


Link to post
Share on other sites
Advertisement
No, you can only draw the same geometry with one call.
But having two draw calls instead of one is nothing to worry about.

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!