ContextLimits

new Cesium.ContextLimits()

Members

staticCesium.ContextLimits.highpFloatSupported : Boolean

High precision float supported (highp) in fragment shaders.

staticCesium.ContextLimits.highpIntSupported : Boolean

High precision int supported (highp) in fragment shaders.

staticCesium.ContextLimits.maximumAliasedLineWidth : Number

The maximum aliased line width, in pixels, supported by this WebGL implementation. It will be at least one.
See:
  • glGet with ALIASED_LINE_WIDTH_RANGE.

staticCesium.ContextLimits.maximumAliasedPointSize : Number

The maximum aliased point size, in pixels, supported by this WebGL implementation. It will be at least one.
See:
  • glGet with ALIASED_POINT_SIZE_RANGE.

staticCesium.ContextLimits.maximumColorAttachments : Number

The maximum number of color attachments supported.

staticCesium.ContextLimits.maximumCombinedTextureImageUnits : Number

The maximum number of texture units that can be used from the vertex and fragment shader with this WebGL implementation. The minimum is eight. If both shaders access the same texture unit, this counts as two texture units.
See:
  • glGet with MAX_COMBINED_TEXTURE_IMAGE_UNITS.

staticCesium.ContextLimits.maximumCubeMapSize : Number

The approximate maximum cube mape width and height supported by this WebGL implementation. The minimum is 16, but most desktop and laptop implementations will support much larger sizes like 8,192.
See:
  • glGet with MAX_CUBE_MAP_TEXTURE_SIZE.

staticCesium.ContextLimits.maximumDrawBuffers : Number

The maximum number of simultaneous outputs that may be written in a fragment shader.

staticCesium.ContextLimits.maximumFragmentUniformVectors : Number

The maximum number of vec4, ivec4, and bvec4 uniforms that can be used by a fragment shader with this WebGL implementation. The minimum is 16.
See:
  • glGet with MAX_FRAGMENT_UNIFORM_VECTORS.

staticCesium.ContextLimits.maximumRenderbufferSize : Number

The maximum renderbuffer width and height supported by this WebGL implementation. The minimum is 16, but most desktop and laptop implementations will support much larger sizes like 8,192.
See:
  • glGet with MAX_RENDERBUFFER_SIZE.

staticCesium.ContextLimits.maximumTextureFilterAnisotropy : Number

The maximum degree of anisotropy for texture filtering

staticCesium.ContextLimits.maximumTextureImageUnits : Number

The maximum number of texture units that can be used from the fragment shader with this WebGL implementation. The minimum is eight.
See:
  • glGet with MAX_TEXTURE_IMAGE_UNITS.

staticCesium.ContextLimits.maximumTextureSize : Number

The approximate maximum texture width and height supported by this WebGL implementation. The minimum is 64, but most desktop and laptop implementations will support much larger sizes like 8,192.
See:
  • glGet with MAX_TEXTURE_SIZE.

staticCesium.ContextLimits.maximumVaryingVectors : Number

The maximum number of vec4 varying variables supported by this WebGL implementation. The minimum is eight. Matrices and arrays count as multiple vec4s.
See:
  • glGet with MAX_VARYING_VECTORS.

staticCesium.ContextLimits.maximumVertexAttributes : Number

The maximum number of vec4 vertex attributes supported by this WebGL implementation. The minimum is eight.
See:
  • glGet with MAX_VERTEX_ATTRIBS.

staticCesium.ContextLimits.maximumVertexTextureImageUnits : Number

The maximum number of texture units that can be used from the vertex shader with this WebGL implementation. The minimum is zero, which means the GL does not support vertex texture fetch.
See:
  • glGet with MAX_VERTEX_TEXTURE_IMAGE_UNITS.

staticCesium.ContextLimits.maximumVertexUniformVectors : Number

The maximum number of vec4, ivec4, and bvec4 uniforms that can be used by a vertex shader with this WebGL implementation. The minimum is 16.
See:
  • glGet with MAX_VERTEX_UNIFORM_VECTORS.

staticCesium.ContextLimits.maximumViewportHeight : Number

The maximum supported height of the viewport. It will be at least as large as the visible height of the associated canvas.
See:
  • glGet with MAX_VIEWPORT_DIMS.

staticCesium.ContextLimits.maximumViewportWidth : Number

The maximum supported width of the viewport. It will be at least as large as the visible width of the associated canvas.
See:
  • glGet with MAX_VIEWPORT_DIMS.

staticCesium.ContextLimits.minimumAliasedLineWidth : Number

The minimum aliased line width, in pixels, supported by this WebGL implementation. It will be at most one.
See:
  • glGet with ALIASED_LINE_WIDTH_RANGE.

staticCesium.ContextLimits.minimumAliasedPointSize : Number

The minimum aliased point size, in pixels, supported by this WebGL implementation. It will be at most one.
See:
  • glGet with ALIASED_POINT_SIZE_RANGE.