文档

Unity Engine

Unity Engine

indirectArgsBufferHandle

GraphicsBufferHandle of the GraphicsBuffer from which the indirect draw command will be read.
阅读时间1 分钟最后更新于 1 个月前

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.