GPURenderCommandsMixin
[<Interface>]
type GPURenderCommandsMixin =
static member Create (draw: Action<float,float option,float option,float option>, drawIndexed: Action<float,float option,float option,float option,float option>, drawIndexedIndirect: Action<GPUBuffer,float>, drawIndirect: Action<GPUBuffer,float>, setIndexBuffer: Action<GPUBuffer,GPUIndexFormat,float option,float option>, setPipeline: GPURenderPipeline -> unit, setVertexBuffer: Action<float,GPUBuffer option,float option,float option>) : GPURenderCommandsMixin
abstract member draw (vertexCount: float, ?instanceCount: float, ?firstVertex: float, ?firstInstance: float) : unit
abstract member drawIndexed (indexCount: float, ?instanceCount: float, ?firstIndex: float, ?baseVertex: float, ?firstInstance: float) : unit
abstract member drawIndexedIndirect (indirectBuffer: GPUBuffer, indirectOffset: float) : unit
abstract member drawIndirect (indirectBuffer: GPUBuffer, indirectOffset: float) : unit
abstract member setIndexBuffer (buffer: GPUBuffer, indexFormat: GPUIndexFormat, ?offset: float, ?size: float) : unit
abstract member setPipeline (pipeline: GPURenderPipeline) : unit
abstract member setVertexBuffer (slot: float, ?buffer: GPUBuffer, ?offset: float, ?size: float) : unit
| |
|---|
| Assembly | Xantham.Fable.Core.TS |
| Attributes | [<Interface>] |
Methods
static member Create (draw: Action<float,float option,float option,float option>, drawIndexed: Action<float,float option,float option,float option,float option>, drawIndexedIndirect: Action<GPUBuffer,float>, drawIndirect: Action<GPUBuffer,float>, setIndexBuffer: Action<GPUBuffer,GPUIndexFormat,float option,float option>, setPipeline: GPURenderPipeline -> unit, setVertexBuffer: Action<float,GPUBuffer option,float option,float option>) : GPURenderCommandsMixin
abstract member draw (vertexCount: float, ?instanceCount: float, ?firstVertex: float, ?firstInstance: float) : unit
abstract member drawIndexed (indexCount: float, ?instanceCount: float, ?firstIndex: float, ?baseVertex: float, ?firstInstance: float) : unit
abstract member drawIndexedIndirect (indirectBuffer: GPUBuffer, indirectOffset: float) : unit
abstract member drawIndirect (indirectBuffer: GPUBuffer, indirectOffset: float) : unit
abstract member setIndexBuffer (buffer: GPUBuffer, indexFormat: GPUIndexFormat, ?offset: float, ?size: float) : unit
abstract member setPipeline (pipeline: GPURenderPipeline) : unit
abstract member setVertexBuffer (slot: float, ?buffer: GPUBuffer, ?offset: float, ?size: float) : unit