TextureSampler
Creates a TextureSampler with default parameters:
minFilter: NEAREST
magFilter: NEAREST
wrapS: CLAMP_TO_EDGE
wrapT: CLAMP_TO_EDGE
wrapR: CLAMP_TO_EDGE
compareMode: NONE
compareFunction: LESS_EQUAL
anisotropy: 1.0 (disabled)
Creates a TextureSampler with default parameters but setting both minification and magnification filters, and using CLAMP_TO_EDGE wrap mode for all axes.
Parameters
Filtering for both minification and magnification.
Creates a TextureSampler with filtering and wrap mode applied to 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 configured for comparison mode (shadow mapping).
Parameters
Compare mode to use.
Creates a TextureSampler configured for comparison mode with a specific comparison function.
Parameters
Compare mode to use.
Comparison function.
Creates a TextureSampler with default parameters:
minFilter: NEAREST
magFilter: NEAREST
wrapS: CLAMP_TO_EDGE
wrapT: CLAMP_TO_EDGE
wrapR: CLAMP_TO_EDGE
compareMode: NONE
compareFunction: LESS_EQUAL
anisotropy: 1.0 (disabled)
Creates a TextureSampler with default parameters but setting both minification and magnification filters, and using CLAMP_TO_EDGE wrap mode for all axes.
Parameters
Filtering for both minification and magnification.
Creates a TextureSampler with filtering and wrap mode applied to 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 configured for comparison mode (shadow mapping).
Parameters
Compare mode to use.
Creates a TextureSampler configured for comparison mode with a specific comparison function.
Parameters
Compare mode to use.
Comparison function.
Creates a TextureSampler with default parameters:
minFilter: NEAREST
magFilter: NEAREST
wrapS: CLAMP_TO_EDGE
wrapT: CLAMP_TO_EDGE
wrapR: CLAMP_TO_EDGE
compareMode: NONE
compareFunction: LESS_EQUAL
anisotropy: 1.0 (disabled)
Creates a TextureSampler with default parameters but setting both minification and magnification filters, and using CLAMP_TO_EDGE wrap mode for all axes.
Parameters
Filtering for both minification and magnification.
Creates a TextureSampler with filtering and wrap mode applied to 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 configured for comparison mode (shadow mapping).
Parameters
Compare mode to use.
Creates a TextureSampler configured for comparison mode with a specific comparison function.
Parameters
Compare mode to use.
Comparison function.
Creates a TextureSampler with default parameters:
minFilter: NEAREST
magFilter: NEAREST
wrapS: CLAMP_TO_EDGE
wrapT: CLAMP_TO_EDGE
wrapR: CLAMP_TO_EDGE
compareMode: NONE
compareFunction: LESS_EQUAL
anisotropy: 1.0 (disabled)
Creates a TextureSampler with default parameters but setting both minification and magnification filters, and using CLAMP_TO_EDGE wrap mode for all axes.
Parameters
Filtering for both minification and magnification.
Creates a TextureSampler with filtering and wrap mode applied to 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 configured for comparison mode (shadow mapping).
Parameters
Compare mode to use.
Creates a TextureSampler configured for comparison mode with a specific comparison function.
Parameters
Compare mode to use.
Comparison function.
Creates a TextureSampler with default parameters:
minFilter: NEAREST
magFilter: NEAREST
wrapS: CLAMP_TO_EDGE
wrapT: CLAMP_TO_EDGE
wrapR: CLAMP_TO_EDGE
compareMode: NONE
compareFunction: LESS_EQUAL
anisotropy: 1.0 (disabled)
Creates a TextureSampler with default parameters but setting both minification and magnification filters, and using CLAMP_TO_EDGE wrap mode for all axes.
Parameters
Filtering for both minification and magnification.
Creates a TextureSampler with filtering and wrap mode applied to 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 configured for comparison mode (shadow mapping).
Parameters
Compare mode to use.
Creates a TextureSampler configured for comparison mode with a specific comparison function.
Parameters
Compare mode to use.
Comparison function.