Spaces:
Running
Running
File size: 717 Bytes
2b7aae2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 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;
}
|