EXTTextureNorm16 class
The extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). When this extension is enabled:
The WebGLRenderingContext.texImage2D() and
WebGLRenderingContext.texSubImage2D() methods accept new
formats provided by this extension.
The 16-bit normalized fixed-point types ext.R16_EXT,
ext.RG16_EXT and ext.RGBA16_EXT become available as
color-renderable formats and renderbuffers and be created in
these formats.
WebGL extensions are available using the
WebGLRenderingContext.getExtension() method. For more
information, see also Using Extensions in the WebGL tutorial.
Note: This extension is only available to WebGL 2 contexts.
- Annotations
-
- @JS.new('EXT_texture_norm16')
- @staticInterop
Constructors
- EXTTextureNorm16()
-
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
- r16Ext → int
-
no setter
- r16SnormExt → int
-
no setter
- rg16Ext → int
-
no setter
- rg16SnormExt → int
-
no setter
- rgb16Ext → int
-
no setter
- rgb16SnormExt → int
-
no setter
- rgba16Ext → int
-
no setter
- rgba16SnormExt → int
-
no setter