WebGLBindGroup

View source

Constructor


Properties


Methods


apply ( context: WebGL2RenderingContext , pipeline: WebGLRenderPipeline , bindGroupIndex: number , dynamicOffsets?: readonly number[] ) : void

View source

Applies the bind group to the active WebGL state.

Parameters

Name Description Default
context — —
pipeline — —
bindGroupIndex — —
dynamicOffsets?

Offsets for dynamic uniform-buffer bindings, in ascending binding order.

[]