기술 자료

Unity Engine

Unity Engine

indirectArgsBufferHandle

GraphicsBufferHandle of the GraphicsBuffer from which the indirect draw command will be read.
읽는 시간 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.