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

Parameters

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

Return Type

undefined
GPURenderBundleEncoder.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