starry / backend /libs /three /renderers /webgl /WebGLCapabilities.d.ts
k-l-lambda's picture
feat: add Python ML services (CPU mode) with model download
2b7aae2
export interface WebGLCapabilitiesParameters {
precision?: string | undefined;
logarithmicDepthBuffer?: boolean | undefined;
}
export class WebGLCapabilities {
constructor(gl: WebGLRenderingContext, extensions: any, parameters: WebGLCapabilitiesParameters);
readonly isWebGL2: boolean;
precision: string;
logarithmicDepthBuffer: boolean;
maxTextures: number;
maxVertexTextures: number;
maxTextureSize: number;
maxCubemapSize: number;
maxAttributes: number;
maxVertexUniforms: number;
maxVaryings: number;
maxFragmentUniforms: number;
vertexTextures: boolean;
floatFragmentTextures: boolean;
floatVertexTextures: boolean;
getMaxAnisotropy(): number;
getMaxPrecision(precision: string): string;
}