Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


indirectArgsBufferHandle

GraphicsBufferHandle of the GraphicsBuffer from which the indirect draw command will be read.
Read time 1 minuteLast updated 6 days ago

Definition

public GraphicsBufferHandle indirectArgsBufferHandle

Remarks

If BatchDrawCommandProceduralIndirect.indexBufferHandle is default then the data at BatchDrawCommandProceduralIndirect.indirectArgsBufferOffset in the referenced buffer is interpreted as an GraphicsBuffer.IndirectDrawArgs, and a non indexed indirect draw call will be issued.
If BatchDrawCommandProceduralIndirect.indexBufferHandle is not default the data will instead be interpreted as an GraphicsBuffer.IndirectDrawIndexedArgs and an indexed indirect draw call will be issued.