Texture class
Texture, tex data stored in GPU memory (VRAM).
Constructors
- Texture.fromRef(Texture ref)
- Construct Texture from native reference.
Properties
- format → PixelFormat
-
Data format (PixelFormat type).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
Texture base height.
no setter
- id → int
-
OpenGL texture id.
no setter
- mipmaps → int
-
Mipmap levels, 1 by default.
no setter
- ref ↔ Texture
-
Native reference.
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
Texture base width.
no setter
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