NAME

WebGPU::Direct::RenderBundleEncoder

Methods

draw

  • Arguments

    • vertexCount (Unsigned 32bit (uint32_t))

    • instanceCount (Unsigned 32bit (uint32_t)) Default: 1

    • firstVertex (Unsigned 32bit (uint32_t)) Default: 0

    • firstInstance (Unsigned 32bit (uint32_t)) Default: 0

drawIndexed

  • Arguments

    • indexCount (Unsigned 32bit (uint32_t))

    • instanceCount (Unsigned 32bit (uint32_t)) Default: 1

    • firstIndex (Unsigned 32bit (uint32_t)) Default: 0

    • baseVertex (Signed 32bit (int32_t)) Default: 0

    • firstInstance (Unsigned 32bit (uint32_t)) Default: 0

drawIndexedIndirect

drawIndirect

finish

insertDebugMarker

  • Arguments

    • markerLabel (String (char *))

popDebugGroup

pushDebugGroup

  • Arguments

    • groupLabel (String (char *))

setBindGroup

  • Arguments

    • groupIndex (Unsigned 32bit (uint32_t))

    • group (WebGPU::Direct::BindGroup)

    • dynamicOffsetCount (Integer (size_t))

    • dynamicOffsets (Unsigned 32bit (uint32_t)) Default: []

setIndexBuffer

setLabel

  • Arguments

    • label (String (char *))

setPipeline

setVertexBuffer

  • Arguments

    • slot (Unsigned 32bit (uint32_t))

    • buffer (WebGPU::Direct::Buffer)

    • offset (Unsigned 64bit (uint64_t)) Default: 0

    • size (Unsigned 64bit (uint64_t)) Default: buffer->getSize() - offset

reference

release