Open johang88 opened 2 years ago
These are there as overloads that take a Buffer
as the argument. https://github.com/stride3d/stride/blob/master/sources/engine/Stride.Graphics/Direct3D/CommandList.Direct3D.cs#L490
Also took me a while to find them, as the Indirect naming doesn't show up.
The "Multi" versions can be simulated by using SV_VertexID
and SV_InstanceID
in the vertex shader, afaik.
ohh, nice I shall check this out :)
For reference #37 #39 #1218
Describe the solution you'd like Implement support for MultiDrawIndirect and DrawIndirect in the various rendering api's. MultiDrawIndirect is not supported in DX11 though but could be added to DX12/Vulkan/OGL backends. Having these features would make it possible to more easily implement various gpu driven rendering techniques (culling, lod selection etc).