EXTTextureCompressionBptc class
The extension is part of the WebGL API and exposes 4 BPTC
compressed texture formats. These compression formats are called
BC7 and BC6H in Microsoft's DirectX API.
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_bptc')
- @staticInterop
Constructors
- EXTTextureCompressionBptc()
-
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
- compressedRgbaBptcUnormExt → int
-
no setter
- compressedRgbBptcSignedFloatExt → int
-
no setter
- compressedRgbBptcUnsignedFloatExt → int
-
no setter
- compressedSrgbAlphaBptcUnormExt → int
-
no setter