EXTTextureCompressionRgtc class

The extension is part of the WebGL API and exposes 4 RGTC compressed texture formats. RGTC is a block-based texture compression format suited for unsigned and signed red and red-green textures (Red-Green Texture Compression). WebGL extensions are available using the WebGLRenderingContext.getExtension() method. For more information, see also Using Extensions in the WebGL tutorial.

Note: Support depends on the system's graphics driver. There is no support on Windows. This extension is available to both, WebGL1 and WebGL2 contexts.

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

Constructors

EXTTextureCompressionRgtc()
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

compressedRedGreenRgtc2Ext int
no setter
compressedRedRgtc1Ext int
no setter
compressedSignedRedGreenRgtc2Ext int
no setter
compressedSignedRedRgtc1Ext int
no setter