Bit positions inside a texture binding's samplingFlags.
Packed rather than one field each because the whole of TextureSampling fits in eight bits, and a material carries five of these.
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
- magLinear → const int
- minLinear → const int
- mipNearest → const int
-
Set when the mip level is chosen by nearest rather than interpolated
(
TextureSampling.mipLinear == false). Bit 7 because bits 3-6 are already spoken for by the two wrap fields. - useMipmaps → const int
- wrapMask → const int
- wrapSShift → const int
- Two bits each, holding a TextureWrap index.
- wrapTShift → const int