WEBGLCompressedTextureEtc class

The extension is part of the WebGL API and exposes 10 ETC/EAC compressed texture formats. 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.

Note: This extension is available to both, WebGL1 and WebGL2 contexts.

Annotations
  • @JS('WEBGL_compressed_texture_etc')
  • @staticInterop

Constructors

WEBGLCompressedTextureEtc()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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

compressedR11Eac int
no setter
compressedRg11Eac int
no setter
compressedRgb8Etc2 int
no setter
compressedRgb8PunchthroughAlpha1Etc2 int
no setter
compressedRgba8Etc2Eac int
no setter
compressedSignedR11Eac int
no setter
compressedSignedRg11Eac int
no setter
compressedSrgb8Alpha8Etc2Eac int
no setter
compressedSrgb8Etc2 int
no setter
compressedSrgb8PunchthroughAlpha1Etc2 int
no setter