RenderTextureSampling class Rendering
Sampling options used when a material samples a RenderTexture.
Captures default to bilinear filtering with clamped edges (the right choice for screen-like content, where wrapping would bleed opposite edges together). Use gpu.MinMagFilter.nearest for a pixelated look.
Constructors
- RenderTextureSampling({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