PropsGPURenderCommandsMixin extension
Methods
-
draw(int vertexCount, [int? instanceCount = 1, int? firstVertex = 0, int? firstInstance = 0])
→ void
-
-
drawIndexed(int indexCount, [int? instanceCount = 1, int? firstIndex = 0, int? baseVertex = 0, int? firstInstance = 0])
→ void
-
-
drawIndexedIndirect(GPUBuffer indirectBuffer, int indirectOffset)
→ void
-
-
drawIndirect(GPUBuffer indirectBuffer, int indirectOffset)
→ void
-
-
setIndexBuffer(GPUBuffer buffer, GPUIndexFormat indexFormat, [int? offset = 0, int? size])
→ void
-
-
setPipeline(GPURenderPipeline pipeline)
→ void
-
-
setVertexBuffer(int slot, GPUBuffer buffer, [int? offset = 0, int? size])
→ void
-