DataArrayTexture class
Creates an array of textures directly from raw data, width and height and depth.
Constructors
- DataArrayTexture([dynamic data, int width = 1, int height = 1, int depth = 1])
-
The data argument must be an
ArrayBufferView.
The properties inherited from
page:Texture
are the default, except magFilter and minFilter default to NearestFilter. The properties flipY and generateMipmaps are initially set to false.
Properties
- anisotropy ↔ int
-
getter/setter pairinherited
- center ↔ Vector2
-
getter/setter pairinherited
- colorSpace ↔ String
-
getter/setter pairinherited
- encoding ↔ int
-
getter/setter pairinherited
- flipY ↔ bool
-
getter/setter pairinherited
- format ↔ int
-
getter/setter pairinherited
- generateMipmaps ↔ bool
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int
-
getter/setter pairinherited
- image ↔ dynamic
-
getter/setter pairinherited
- internalFormat ↔ int?
-
getter/setter pairinherited
- isCompressedTexture ↔ bool
-
getter/setter pairinherited
- isDataTexture2DArray ↔ bool
-
getter/setter pair
- isDepthTexture ↔ bool
-
getter/setter pairinherited
- isOpenGLTexture ↔ bool
-
getter/setter pairinherited
- isRenderTargetTexture ↔ bool
-
getter/setter pairinherited
- isTexture ↔ bool
-
getter/setter pairinherited
- isVideoTexture ↔ bool
-
getter/setter pairinherited
- isWebGLRenderTarget ↔ bool
-
getter/setter pairinherited
- magFilter ↔ int
-
getter/setter pairinherited
- mapping ↔ int?
-
getter/setter pairinherited
- matrix ↔ Matrix3
-
getter/setter pairinherited
- matrixAutoUpdate ↔ bool
-
getter/setter pairinherited
- minFilter ↔ int
-
getter/setter pairinherited
- mipmaps ↔ List
-
getter/setter pairinherited
- name ↔ String
-
getter/setter pairinherited
- needsPMREMUpdate ↔ bool
-
getter/setter pairinherited
- needsUpdate ← bool
-
no getterinherited
- offset ↔ Vector2
-
getter/setter pairinherited
- onUpdate ↔ Function?
-
getter/setter pairinherited
- premultiplyAlpha ↔ bool
-
getter/setter pairinherited
- repeat ↔ Vector2
-
getter/setter pairinherited
- rotation ↔ double
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source ↔ Source
-
getter/setter pairinherited
- type ↔ int
-
getter/setter pairinherited
- unpackAlignment ↔ int
-
getter/setter pairinherited
- userData ↔ Map
-
getter/setter pairinherited
- uuid ↔ String
-
getter/setter pairinherited
- version ↔ int
-
getter/setter pairinherited
- wrapR ↔ int
-
getter/setter pairinherited
- wrapS ↔ int
-
getter/setter pairinherited
- wrapT ↔ int
-
getter/setter pairinherited
Methods
-
addEventListener(
String type, Function listener) → void -
type
- The type of event to listen to.inherited -
clearListeners(
) → void -
Remove all Listeners.
inherited
-
clone(
) → Texture -
inherited
-
copy(
Texture source) → Texture -
inherited
-
dispatchEvent(
Event event) → void -
event
- The event that gets fired.inherited -
dispose(
) → void -
inherited
-
hasEventListener(
String type, Function listener) → bool -
type
- The type of event to listen to.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, Function listener) → void -
type - The type of the listener that gets removed.
inherited
-
toJson(
dynamic meta) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transformUv(
Vector2 uv) → Vector2 -
inherited
-
updateMatrix(
) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited