EngineCapabilities

Class used to describe the capabilities of the engine relatively to the current browser

Hierarchy

  • EngineCapabilities

Index

Properties

astc

astc: any

Defines if astc texture compression is supported

canUseTimestampForTimerQuery

canUseTimestampForTimerQuery: boolean

Defines if timestamp can be used with timer query

colorBufferFloat

colorBufferFloat: boolean

Defines if float color buffer are supported

depthTextureExtension

depthTextureExtension: boolean

Defines if depth textures are supported

drawBuffersExtension

drawBuffersExtension: boolean

Defines if draw buffers extension is supported

etc1

etc1: any

Defines if etc1 texture compression is supported

etc2

etc2: any

Defines if etc2 texture compression is supported

fragmentDepthSupported

fragmentDepthSupported: boolean

Defines if depth reading in the fragment shader is supported

highPrecisionShaderSupported

highPrecisionShaderSupported: boolean

Defines if high precision shaders are supported

instancedArrays

instancedArrays: boolean

Defines if instancing is supported

maxAnisotropy

maxAnisotropy: number

Gets the maximum level of anisotropy supported

maxCombinedTexturesImageUnits

maxCombinedTexturesImageUnits: number

Maximum textures units in the entire pipeline

maxCubemapTextureSize

maxCubemapTextureSize: number

Maximum cube texture size

maxFragmentUniformVectors

maxFragmentUniformVectors: number

Maximum number of uniforms per fragment shader

maxRenderTextureSize

maxRenderTextureSize: number

Maximum render texture size

maxTextureSize

maxTextureSize: number

Maximum texture size

maxTexturesImageUnits

maxTexturesImageUnits: number

Maximum textures units per fragment shader

maxVaryingVectors

maxVaryingVectors: number

Maximum number of varyings

maxVertexAttribs

maxVertexAttribs: number

Maximum number of vertex attributes

maxVertexTextureImageUnits

maxVertexTextureImageUnits: number

Maximum texture units per vertex shader

maxVertexUniformVectors

maxVertexUniformVectors: number

Maximum number of uniforms per vertex shader

pvrtc

pvrtc: any

Defines if pvrtc texture compression is supported

s3tc

s3tc: Nullable<WEBGL_compressed_texture_s3tc>

Defines if s3tc texture compression is supported

standardDerivatives

standardDerivatives: boolean

Defines if standard derivates (dx/dy) are supported

textureAnisotropicFilterExtension

textureAnisotropicFilterExtension: Nullable<EXT_texture_filter_anisotropic>

Gets the webgl extension for anisotropic filtering (null if not supported)

textureFloat

textureFloat: boolean

Defines if float textures are supported

textureFloatLinearFiltering

textureFloatLinearFiltering: boolean

Defines if float texture linear filtering is supported

textureFloatRender

textureFloatRender: boolean

Defines if rendering to float textures is supported

textureHalfFloat

textureHalfFloat: boolean

Defines if half float textures are supported

textureHalfFloatLinearFiltering

textureHalfFloatLinearFiltering: boolean

Defines if half float texture linear filtering is supported

textureHalfFloatRender

textureHalfFloatRender: boolean

Defines if rendering to half float textures is supported

textureLOD

textureLOD: boolean

Defines if textureLOD shader command is supported

timerQuery

Gets disjoint timer query extension (null if not supported)

uintIndices

uintIndices: boolean

Defines if 32 bits indices are supported

vertexArrayObject

vertexArrayObject: boolean

Defines if vertex array objects are supported

Generated using TypeDoc