Skip to main content

Type Alias: SetupInstanceAttributesCallback

SetupInstanceAttributesCallback = (gl, renderable) => void

Defined in: rendering/renderable.ts:64

Callback function type for setting up instance attributes in WebGL. This function configures the vertex attribute pointers for instanced rendering.

Parameters

gl

WebGL2RenderingContext

The WebGL2 rendering context

renderable

Renderable

The renderable object being configured

Returns

void