GPURenderBundleEncoder

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun draw(vertexCount: GPUSize32, instanceCount: GPUSize32 = definedExternally, firstVertex: GPUSize32 = definedExternally, firstInstance: GPUSize32 = definedExternally)
Link copied to clipboard
open fun drawIndexed(indexCount: GPUSize32, instanceCount: GPUSize32 = definedExternally, firstIndex: GPUSize32 = definedExternally, baseVertex: GPUSignedOffset32 = definedExternally, firstInstance: GPUSize32 = definedExternally)
Link copied to clipboard
open fun drawIndexedIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64)
Link copied to clipboard
open fun drawIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64)
Link copied to clipboard
fun finish(descriptor: GPURenderBundleDescriptor = definedExternally): GPURenderBundle
Link copied to clipboard
open fun insertDebugMarker(markerLabel: String)
Link copied to clipboard
Link copied to clipboard
open fun pushDebugGroup(groupLabel: String)
Link copied to clipboard
open fun setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup?, dynamicOffsets: ReadonlyArray<GPUBufferDynamicOffset> = definedExternally)
open fun setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup?, dynamicOffsetsData: Uint32Array<*>, dynamicOffsetsDataStart: GPUSize64, dynamicOffsetsDataLength: GPUSize32)
Link copied to clipboard
open fun setIndexBuffer(buffer: GPUBuffer, indexFormat: GPUIndexFormat, offset: GPUSize64 = definedExternally, size: GPUSize64 = definedExternally)
Link copied to clipboard
Link copied to clipboard
open fun setVertexBuffer(slot: GPUIndex32, buffer: GPUBuffer?, offset: GPUSize64 = definedExternally, size: GPUSize64 = definedExternally)