Class: WebGLCapabilities

zen3d.WebGLCapabilities

Members

anisotropyExt :*

The EXT_texture_filter_anisotropic extension.
Type:
  • *
Source:

lineWidthRange :Float32Array

Getting the range of available widths.
Type:
  • Float32Array
Source:

maxAnisotropy :Integer

The max anisotropic value.
Type:
  • Integer
Source:

maxCubemapSize :Integer

The max cube map texture size.
Type:
  • Integer
Source:

maxPrecision :string

The max precision supported in shaders.
Type:
  • string
Source:

maxSamples :Integer

The max samples value.
Type:
  • Integer
Source:

maxTextures :Integer

The max texture units.
Type:
  • Integer
Source:

maxTextureSize :Integer

The max texture size.
Type:
  • Integer
Source:

maxVertexTextures :Integer

Max vertex texture units.
Type:
  • Integer
Source:

maxVertexUniformVectors :Integer

The max vertex uniform vectors.
Type:
  • Integer
Source:

version :number

WebGL version.
Type:
  • number
Source:

Methods

getExtension(name) → {*}

Method to get WebGL extensions.
Parameters:
Name Type Description
name string
Source:
Returns:
Type
*