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

Parameters

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

Return Type

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