Expand description
Contents of this file are to help emulate gl_InstanceIndex on DX12. Metal follows the same convention as vulkan.
Structs§
- Helper object for writing indirect draws into a buffer. Abstracts over DX12 requiring an extra 4 bytes to set a push constant
- A helper object for doing indirect draw on DX12/Metal/Vulkan in a compatible way. We supply a push constant on DX12 only to emulate gl_InstanceIndex on DX12. This helper object is mostly a no-op for vulkan/metal.