WEBGL_compressed_texture_s3tc_srgb class Null safety

The WEBGL_compressed_texture_s3tc_srgb extension is part of the WebGL API and exposes four S3TC compressed texture formats for the sRGB colorspace.

Compressed textures reduce the amount of memory needed to store a texture on the GPU, allowing for higher resolution textures or more of the same resolution textures.

WebGL extensions are available using the WebGLRenderingContext.getExtension() method. For more information, see also Using Extensions in the WebGL tutorial. Availability: This extension is available to both WebGL1 and WebGL2 contexts.

Annotations

Constructors

WEBGL_compressed_texture_s3tc_srgb()
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT int
read-only
COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT int
read-only
COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT int
read-only
COMPRESSED_SRGB_S3TC_DXT1_EXT int
read-only