Defines the data layout for indexed indirect render calls.
To setup GraphicsBuffer for indexed indirect rendering, use this struct to define the data layout. The layout can change between platforms, so to improve portability, use this struct instead of defining the data as raw ints.
Additional resources: Graphics.RenderMeshIndirect, Graphics.RenderPrimitivesIndexedIndirect.
size | The size of the struct in bytes. |
baseVertexIndex | The index to add to values fetched from the index buffer. |
indexCountPerInstance | The number of vertex indices per instance. |
instanceCount | The number of instances to render. |
startIndex | The first index to use in the index buffer of the rendering call. |
startInstance | The first instance to render. |