MultiDrawIndirect Ordered (consistent layering)

If I use a MultiDrawIndirect command to draw a number of objects, will the different objects be layered in order?

I am rendering 2D sprites, with different depths, but when the depths are equal, the rendering order matters. Will using a multi draw command potentially misorder the objects?

Thanks

All OpenGL commands render primitives in a defined order, including multi-draw commands.

1 Like