TextureSampling class final

Filtering and wrapping requested for a texture.

Constructors

TextureSampling({bool magLinear = true, bool minLinear = true, bool useMipmaps = true, bool mipLinear = true, TextureWrap wrapS = TextureWrap.repeat, TextureWrap wrapT = TextureWrap.repeat})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
magLinear → bool
final
minLinear → bool
final
mipLinear → bool
Whether the mip level itself is chosen by interpolating between two (trilinear) rather than picked as the nearest one (bilinear-with-mips).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
useMipmaps → bool
Assets almost always request mipmapped minification, and this is now acted on: uploadEncodedImage builds a chain when this is set, and samplerOptionsFor sets the mip filter from the same field so the chain is blended rather than merely allocated.
final
wrapS → TextureWrap
final
wrapT → TextureWrap
final

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