|
@@ -1,6 +1,6 @@
|
|
export interface WebGLCapabilitiesParameters {
|
|
export interface WebGLCapabilitiesParameters {
|
|
- precision?: any;
|
|
|
|
- logarithmicDepthBuffer?: any;
|
|
|
|
|
|
+ precision?: string;
|
|
|
|
+ logarithmicDepthBuffer?: boolean;
|
|
}
|
|
}
|
|
|
|
|
|
export class WebGLCapabilities {
|
|
export class WebGLCapabilities {
|
|
@@ -10,19 +10,19 @@ export class WebGLCapabilities {
|
|
parameters: WebGLCapabilitiesParameters
|
|
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;
|
|
|
|
|
|
+ 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;
|
|
isWebGL2: boolean;
|
|
isWebGL2: boolean;
|
|
|
|
|
|
getMaxAnisotropy(): number;
|
|
getMaxAnisotropy(): number;
|