cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

tmason
Journeyman III

Using the ARB_multi_draw_indirect command

Hello,

Has anyone used the "ARB_multi_draw_indirect" command? Apparently it is supposed to make drawing much faster depending on the situation but I don't know how to use it.

My drawing code is currently a loop where I bind each item I want to draw with a VAO, send my MVP/Normal Matrix via glUniformMatrix* functions, send a UBO object with my materials/colors, and then do my glDrawElements(*) function.

But apparently using ARB_multi_draw_indirect is much faster.

Anyone have an example of it's use and how to use it correctly?

Thank you for your time.

0 Likes