1 | import { WebGLProgram } from "./WebGLProgram.js";
|
2 | import { WebGLTextures } from "./WebGLTextures.js";
|
3 |
|
4 | export class WebGLUniforms {
|
5 | constructor(gl: WebGLRenderingContext, program: WebGLProgram);
|
6 |
|
7 | setValue(gl: WebGLRenderingContext, name: string, value: any, textures: WebGLTextures): void;
|
8 | setOptional(gl: WebGLRenderingContext, object: any, name: string): void;
|
9 |
|
10 | static upload(gl: WebGLRenderingContext, seq: any, values: any[], textures: WebGLTextures): void;
|
11 | static seqWithValue(seq: any, values: any[]): any[];
|
12 | }
|