Skip to content

Batching draw calls with DrawIndex #4630

Answered by Myrindd
Myrindd asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for the advice; dynamic offsets sounds like a good solution to limit how many bind groups are created; but still require manually changing offset between draw calls, which I would like to avoid through instancing.
Instead, I am currently investigating the use of instance index offsets (firstInstance option in the draw command). It will still require multiple draw calls (one per mesh) - at least until multidraw is implemented.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Myrindd
Comment options

Answer selected by kainino0x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants