method GPUComputePassEncoder.prototype.setBindGroup
GPUComputePassEncoder.prototype.setBindGroup(
index: number,
bindGroup: GPUBindGroup,
dynamicOffsets?: number[],
): undefined

Parameters

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

Return Type

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