ExternalTextureSampling class Assets and loading
Sampling options used when a material samples an ExternalTexture.
Defaults to bilinear with clamped edges, matching RenderTextureSampling.
Streamed frames carry no mip chain, so minification is not filtered; keep
the surface reasonably close to the camera or expect aliasing.
Constructors
- ExternalTextureSampling({MinMagFilter filter = gpu.MinMagFilter.linear, SamplerAddressMode wrap = gpu.SamplerAddressMode.clampToEdge})
-
Creates sampling options.
const
Properties
- filter → MinMagFilter
-
The minification/magnification filter.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wrap → SamplerAddressMode
-
The addressing mode for texture coordinates outside
0..1, applied to both axes.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