Function: uniformLocations()
ts
function uniformLocations(
gl,
program,
names): Record<string, WebGLUniformLocation | null>;Defined in: gl/program.ts:46
Cache uniform locations for a program by name.
Parameters
| Parameter | Type |
|---|---|
gl | WebGL2RenderingContext |
program | WebGLProgram |
names | string[] |
Returns
Record<string, WebGLUniformLocation | null>