TextureSampler
TextureSampler defines how a texture is accessed during rendering.
It specifies filtering modes, wrapping modes, and optional comparison modes for texture sampling. TextureSampler objects are immutable after construction and are used by MaterialInstance to configure how textures are sampled.
TextureSampler defines how a texture is accessed during rendering.
It specifies filtering modes, wrapping modes, and optional comparison modes for texture sampling. TextureSampler objects are immutable after construction and are used by MaterialInstance to configure how textures are sampled.
TextureSampler defines how a texture is accessed during rendering.
It specifies filtering modes, wrapping modes, and optional comparison modes for texture sampling. TextureSampler objects are immutable after construction and are used by MaterialInstance to configure how textures are sampled.
TextureSampler defines how a texture is accessed during rendering.
It specifies filtering modes, wrapping modes, and optional comparison modes for texture sampling. TextureSampler objects are immutable after construction and are used by MaterialInstance to configure how textures are sampled.
TextureSampler defines how a texture is accessed during rendering.
It specifies filtering modes, wrapping modes, and optional comparison modes for texture sampling. TextureSampler objects are immutable after construction and are used by MaterialInstance to configure how textures are sampled.
Constructors
Creates a TextureSampler with default parameters:
Creates a TextureSampler with default parameters but setting both minification and magnification filters, and using CLAMP_TO_EDGE wrap mode for all axes.
Creates a TextureSampler with filtering and wrap mode applied to all axes.
Creates a TextureSampler with separate minification and magnification filters, and a wrap mode applied to all axes.
Creates a TextureSampler with separate filters and wrap modes for each axis.
Creates a TextureSampler configured for comparison mode (shadow mapping).
Creates a TextureSampler configured for comparison mode with a specific comparison function.
Creates a TextureSampler with default parameters:
Creates a TextureSampler with default parameters but setting both minification and magnification filters, and using CLAMP_TO_EDGE wrap mode for all axes.
Creates a TextureSampler with filtering and wrap mode applied to all axes.
Creates a TextureSampler with separate minification and magnification filters, and a wrap mode applied to all axes.
Creates a TextureSampler with separate filters and wrap modes for each axis.
Creates a TextureSampler configured for comparison mode (shadow mapping).
Creates a TextureSampler configured for comparison mode with a specific comparison function.
Creates a TextureSampler with default parameters:
Creates a TextureSampler with default parameters but setting both minification and magnification filters, and using CLAMP_TO_EDGE wrap mode for all axes.
Creates a TextureSampler with filtering and wrap mode applied to all axes.
Creates a TextureSampler with separate minification and magnification filters, and a wrap mode applied to all axes.
Creates a TextureSampler with separate filters and wrap modes for each axis.
Creates a TextureSampler configured for comparison mode (shadow mapping).
Creates a TextureSampler configured for comparison mode with a specific comparison function.
Creates a TextureSampler with default parameters:
Creates a TextureSampler with default parameters but setting both minification and magnification filters, and using CLAMP_TO_EDGE wrap mode for all axes.
Creates a TextureSampler with filtering and wrap mode applied to all axes.
Creates a TextureSampler with separate minification and magnification filters, and a wrap mode applied to all axes.
Creates a TextureSampler with separate filters and wrap modes for each axis.
Creates a TextureSampler configured for comparison mode (shadow mapping).
Creates a TextureSampler configured for comparison mode with a specific comparison function.
Creates a TextureSampler with default parameters:
Creates a TextureSampler with default parameters but setting both minification and magnification filters, and using CLAMP_TO_EDGE wrap mode for all axes.
Creates a TextureSampler with filtering and wrap mode applied to all axes.
Creates a TextureSampler with separate minification and magnification filters, and a wrap mode applied to all axes.
Creates a TextureSampler with separate filters and wrap modes for each axis.
Creates a TextureSampler configured for comparison mode (shadow mapping).
Creates a TextureSampler configured for comparison mode with a specific comparison function.
Types
Comparison function for depth comparison operations in COMPARE_TO_TEXTURE mode.
Comparison function for depth comparison operations in COMPARE_TO_TEXTURE mode.
Comparison function for depth comparison operations in COMPARE_TO_TEXTURE mode.
Comparison function for depth comparison operations in COMPARE_TO_TEXTURE mode.
Comparison function for depth comparison operations in COMPARE_TO_TEXTURE mode.
Compare mode for shadow map sampling and similar depth comparisons.
Compare mode for shadow map sampling and similar depth comparisons.
Compare mode for shadow map sampling and similar depth comparisons.
Compare mode for shadow map sampling and similar depth comparisons.
Compare mode for shadow map sampling and similar depth comparisons.
Magnification filter specifies how texels are filtered when the texture is sampled at a size larger than its original resolution.
Magnification filter specifies how texels are filtered when the texture is sampled at a size larger than its original resolution.
Magnification filter specifies how texels are filtered when the texture is sampled at a size larger than its original resolution.
Magnification filter specifies how texels are filtered when the texture is sampled at a size larger than its original resolution.
Magnification filter specifies how texels are filtered when the texture is sampled at a size larger than its original resolution.
Minification filter specifies how texels are filtered when the texture is sampled at a size smaller than its original resolution.
Minification filter specifies how texels are filtered when the texture is sampled at a size smaller than its original resolution.
Minification filter specifies how texels are filtered when the texture is sampled at a size smaller than its original resolution.
Minification filter specifies how texels are filtered when the texture is sampled at a size smaller than its original resolution.
Minification filter specifies how texels are filtered when the texture is sampled at a size smaller than its original resolution.
Texture wrapping mode for texture coordinates outside the 0..1 range.
Texture wrapping mode for texture coordinates outside the 0..1 range.
Texture wrapping mode for texture coordinates outside the 0..1 range.
Texture wrapping mode for texture coordinates outside the 0..1 range.
Texture wrapping mode for texture coordinates outside the 0..1 range.
Properties
Anisotropic filtering amount. Should be a power-of-two. Default is 1.0 (disabled). The maximum permissible value is 128.
Anisotropic filtering amount. Should be a power-of-two. Default is 1.0 (disabled). The maximum permissible value is 128.
Anisotropic filtering amount. Should be a power-of-two. Default is 1.0 (disabled). The maximum permissible value is 128.
Anisotropic filtering amount. Should be a power-of-two. Default is 1.0 (disabled). The maximum permissible value is 128.
Anisotropic filtering amount. Should be a power-of-two. Default is 1.0 (disabled). The maximum permissible value is 128.
Comparison function for depth comparisons.
Comparison function for depth comparisons.
Comparison function for depth comparisons.
Comparison function for depth comparisons.
Comparison function for depth comparisons.
Comparison mode.
Comparison mode.
Comparison mode.
Comparison mode.
Comparison mode.
Magnification filter.
Magnification filter.
Magnification filter.
Magnification filter.
Magnification filter.
Minification filter.
Minification filter.
Minification filter.
Minification filter.
Minification filter.
Wrap mode for R (depth) texture coordinate.
Wrap mode for R (depth) texture coordinate.
Wrap mode for R (depth) texture coordinate.
Wrap mode for R (depth) texture coordinate.
Wrap mode for R (depth) texture coordinate.
Wrap mode for S (horizontal) texture coordinate.
Wrap mode for S (horizontal) texture coordinate.
Wrap mode for S (horizontal) texture coordinate.
Wrap mode for S (horizontal) texture coordinate.
Wrap mode for S (horizontal) texture coordinate.
Wrap mode for T (vertical) texture coordinate.
Wrap mode for T (vertical) texture coordinate.
Wrap mode for T (vertical) texture coordinate.
Wrap mode for T (vertical) texture coordinate.
Wrap mode for T (vertical) texture coordinate.