TextureFlags class Graphics
Defines bitmask flags to control Texture behavior, such as filtering,
Constructors
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
Constants
- clampS → const int
- Clamps texture coordinates to the edge in the S (U) direction.
- clampST → const int
- Clamps texture coordinates to the edge in both S (U) and T (V) directions.
- clampT → const int
- Clamps texture coordinates to the edge in the T (V) direction.
- defaultFlags → const int
- Default texture flags: enables filter and mipmap.
- filter → const int
- Enables bilinear filtering for magnification and minification.
- mipmap → const int
- Enables mipmapping. Often used with filter for better quality at smaller sizes.
- mirroredRepeatS → const int
- Repeats the texture with mirroring in the S (U) direction.
- mirroredRepeatST → const int
- Repeats the texture with mirroring in both S (U) and T (V) directions.
- mirroredRepeatT → const int
- Repeats the texture with mirroring in the T (V) direction.
- none → const int
- No flags set.
- repeatS → const int
- Repeats the texture in the S (U) direction.
- repeatST → const int
- Repeats the texture in both S (U) and T (V) directions.
- repeatT → const int
- Repeats the texture in the T (V) direction.