Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

WebGLLayerProgramType

WebGLLayerProgramType<N, E, G> = (gl, pickingBuffer, renderer) => WebGLLayerProgram<N, E, G>

Defined in: packages/layer-webgl/src/webgl-layer-program/index.ts:91

Type Parameters

N

N extends Attributes = Attributes

E

E extends Attributes = Attributes

G

G extends Attributes = Attributes

Parameters

gl

WebGL2RenderingContext

pickingBuffer

WebGLFramebuffer | null

renderer

Sigma<N, E, G>

Returns

WebGLLayerProgram<N, E, G>