WEBGLCompressedTextureAstc class
The extension is part of the WebGL API and exposes Adaptive
Scalable Texture Compression (ASTC) compressed texture formats to
WebGL.
For more information, see the article Using ASTC Texture
Compression for Game Assets by nvidia.
WebGL extensions are available using the
WebGLRenderingContext.getExtension()
method. For more
information, see also Using Extensions in the WebGL tutorial.
Note: ASTC compression is typically available on Mali ARM GPUs, Intel GPUs, and Nividia Tegra chips. This extension is available to both, WebGL1 and WebGL2 contexts.
- Available extensions
- Annotations
-
- @JS('WEBGL_compressed_texture_astc')
- @staticInterop
Constructors
- WEBGLCompressedTextureAstc()
-
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
- compressedRgbaAstc10x10Khr → int
-
no setter
- compressedRgbaAstc10x5Khr → int
-
no setter
- compressedRgbaAstc10x6Khr → int
-
no setter
- compressedRgbaAstc10x8Khr → int
-
no setter
- compressedRgbaAstc12x10Khr → int
-
no setter
- compressedRgbaAstc12x12Khr → int
-
no setter
- compressedRgbaAstc4x4Khr → int
-
no setter
- compressedRgbaAstc5x4Khr → int
-
no setter
- compressedRgbaAstc5x5Khr → int
-
no setter
- compressedRgbaAstc6x5Khr → int
-
no setter
- compressedRgbaAstc6x6Khr → int
-
no setter
- compressedRgbaAstc8x5Khr → int
-
no setter
- compressedRgbaAstc8x6Khr → int
-
no setter
- compressedRgbaAstc8x8Khr → int
-
no setter
- compressedSrgb8Alpha8Astc10x10Khr → int
-
no setter
- compressedSrgb8Alpha8Astc10x5Khr → int
-
no setter
- compressedSrgb8Alpha8Astc10x6Khr → int
-
no setter
- compressedSrgb8Alpha8Astc10x8Khr → int
-
no setter
- compressedSrgb8Alpha8Astc12x10Khr → int
-
no setter
- compressedSrgb8Alpha8Astc12x12Khr → int
-
no setter
- compressedSrgb8Alpha8Astc4x4Khr → int
-
no setter
- compressedSrgb8Alpha8Astc5x4Khr → int
-
no setter
- compressedSrgb8Alpha8Astc5x5Khr → int
-
no setter
- compressedSrgb8Alpha8Astc6x5Khr → int
-
no setter
- compressedSrgb8Alpha8Astc6x6Khr → int
-
no setter
- compressedSrgb8Alpha8Astc8x5Khr → int
-
no setter
- compressedSrgb8Alpha8Astc8x6Khr → int
-
no setter
- compressedSrgb8Alpha8Astc8x8Khr → int
-
no setter