web3d / node_modules /three /src /renderers /webgl /WebGLCapabilities.d.ts
julien-c's picture
julien-c HF staff
do not gitignore the builds
6cd9596
raw
history blame contribute delete
648 Bytes
export interface WebGLCapabilitiesParameters {
precision?: any;
logarithmicDepthBuffer?: any;
}
export class WebGLCapabilities {
constructor(
gl: WebGLRenderingContext,
extensions: any,
parameters: WebGLCapabilitiesParameters
);
precision: any;
logarithmicDepthBuffer: any;
maxTextures: any;
maxVertexTextures: any;
maxTextureSize: any;
maxCubemapSize: any;
maxAttributes: any;
maxVertexUniforms: any;
maxVaryings: any;
maxFragmentUniforms: any;
vertexTextures: any;
floatFragmentTextures: any;
floatVertexTextures: any;
getMaxAnisotropy(): number;
getMaxPrecision(precision: string): string;
}