ContextLimits

new SuperMap3D.ContextLimits()

Members

staticSuperMap3D.ContextLimits.highpFloatSupported : Boolean

High precision float supported (highp) in fragment shaders.

staticSuperMap3D.ContextLimits.highpIntSupported : Boolean

High precision int supported (highp) in fragment shaders.

staticSuperMap3D.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.

staticSuperMap3D.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.

staticSuperMap3D.ContextLimits.maximumColorAttachments : Number

The maximum number of color attachments supported.

staticSuperMap3D.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.

staticSuperMap3D.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.

staticSuperMap3D.ContextLimits.maximumDrawBuffers : Number

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

staticSuperMap3D.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.

staticSuperMap3D.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.

staticSuperMap3D.ContextLimits.maximumTextureFilterAnisotropy : Number

The maximum degree of anisotropy for texture filtering

staticSuperMap3D.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.

staticSuperMap3D.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.

staticSuperMap3D.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.

staticSuperMap3D.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.

staticSuperMap3D.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.

staticSuperMap3D.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.

staticSuperMap3D.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.

staticSuperMap3D.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.

staticSuperMap3D.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.

staticSuperMap3D.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.