TextureSampler
Creates a TextureSampler with the default parameters: NEAREST filtering, CLAMP_TO_EDGE on all axes, anisotropy 1, no comparison.
Creates a TextureSampler with the same minification and magnification filter and one wrap mode for all axes.
Parameters
Filtering for both minification and magnification.
Wrapping mode applied to all three axes (S, T, R).
Creates a TextureSampler with separate minification and magnification filters, and a wrap mode applied to all axes.
Parameters
Minification filter.
Magnification filter.
Wrapping mode applied to all three axes (S, T, R).
Creates a TextureSampler with separate filters and wrap modes for each axis.
Parameters
Minification filter.
Magnification filter.
Wrap mode for the S (horizontal) texture coordinate.
Wrap mode for the T (vertical) texture coordinate.
Wrap mode for the R (depth) texture coordinate.
Creates a TextureSampler with default filtering and wrapping, and the given comparison mode.
Parameters
Compare mode to use.
Comparison function.