ドキュメント

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.