File size: 584 Bytes
6cd9596
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { WebGLProgram } from './WebGLProgram';
import { WebGLTextures } from './WebGLTextures';

export class WebGLUniforms {
  constructor(gl: any, program: WebGLProgram);

  setValue(gl: any, name: string, value: any, textures: WebGLTextures): void;
  setOptional(gl: any, object: any, name: string): void;

  static upload(gl: any, seq: any, values: any[], textures: WebGLTextures): void;
  static seqWithValue(seq: any, values: any[]): any[];
  static splitDynamic(seq: any, values: any[]): any[];
  static evalDynamic(seq: any, values: any[], object: any, camera: any): any[];
}