starry / backend /libs /three /renderers /webgl /WebGLUniforms.d.ts
k-l-lambda's picture
feat: add Python ML services (CPU mode) with model download
2b7aae2
import { WebGLProgram } from './WebGLProgram';
import { WebGLTextures } from './WebGLTextures';
export class WebGLUniforms {
constructor(gl: WebGLRenderingContext, program: WebGLProgram);
setValue(gl: WebGLRenderingContext, name: string, value: any, textures: WebGLTextures): void;
setOptional(gl: WebGLRenderingContext, object: any, name: string): void;
static upload(gl: WebGLRenderingContext, seq: any, values: any[], textures: WebGLTextures): void;
static seqWithValue(seq: any, values: any[]): any[];
}