Skip to main content
GPURenderPassEncoder.prototype.setBindGroup - GPU - Web documentation
method GPURenderPassEncoder.prototype.setBindGroup
GPURenderPassEncoder.prototype.setBindGroup(
index: number,
bindGroup: GPUBindGroup,
dynamicOffsets?: number[],
): undefined

Parameters

index: number
bindGroup: GPUBindGroup
optional
dynamicOffsets: number[]

Return Type

undefined
GPURenderPassEncoder.prototype.setBindGroup(
index: number,
bindGroup: GPUBindGroup,
dynamicOffsetsData: Uint32Array,
dynamicOffsetsDataStart: number,
dynamicOffsetsDataLength: number,
): undefined

Parameters

index: number
bindGroup: GPUBindGroup
dynamicOffsetsData: Uint32Array
dynamicOffsetsDataStart: number
dynamicOffsetsDataLength: number

Return Type

undefined