Interface VulkanSamplerCreateInfoType
- All Known Implementing Classes:
VulkanSamplerCreateInfo
@Immutable
public interface VulkanSamplerCreateInfoType
Structure specifying how to create a sampler.
- See Also:
-
Method Details
-
flags
- Returns:
- A set of flags describing additional parameters of the sampler.
-
magFilter
- Returns:
- The magnification filter to apply to lookups.
-
minFilter
- Returns:
- The minification filter to apply to lookups.
-
mipmapMode
- Returns:
- The mipmap filter to apply to lookups.
-
addressModeU
- Returns:
- The addressing mode for outside [0..1] range for U coordinates.
-
addressModeV
- Returns:
- The addressing mode for outside [0..1] range for V coordinates.
-
addressModeW
- Returns:
- The addressing mode for outside [0..1] range for W coordinates.
-
mipLodBias
@Parameter float mipLodBias()- Returns:
- The bias to be added to mipmap LOD (level-of-detail) calculation and bias provided by the image sampling functions in SPIR-V.
-
maxAnisotropy
If this value is non-empty, enable anisotropic filtering using the given amount of anisotropy.- Returns:
- The anisotropy value clamp used by the sampler
-
compareOp
- Returns:
- A value specifying the comparison function to apply to fetched data before filtering
-
minLod
@Parameter float minLod()- Returns:
- The minimum LOD clamp value
-
maxLod
@Parameter float maxLod()- Returns:
- The maximum LOD clamp value
-
borderColor
- Returns:
- The predefined border color to use.
-
unnormalizedCoordinates
@Parameter boolean unnormalizedCoordinates()- Returns:
trueif the sampler coordinates should unnormalized
-