Interface VulkanSamplerCreateInfoType
- All Known Implementing Classes:
VulkanSamplerCreateInfo
@Immutable
public interface VulkanSamplerCreateInfoType
Structure specifying how to create a sampler.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault VulkanSamplerAddressModedefault VulkanSamplerAddressModedefault VulkanSamplerAddressModedefault VulkanBorderColorflags()default VulkanFilterIf this value is non-empty, enable anisotropic filtering using the given amount of anisotropy.default floatmaxLod()default VulkanFilterdefault floatminLod()default floatdefault VulkanSamplerMipmapModedefault boolean
-
Method Details
-
flags
Set<VulkanSamplerCreateFlag> 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
@Default default 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
OptionalDouble 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
Optional<VulkanCompareOp> compareOp()- Returns:
- A value specifying the comparison function to apply to fetched data before filtering
-
minLod
@Default default float minLod()- Returns:
- The minimum LOD clamp value
-
maxLod
@Default default float maxLod()- Returns:
- The maximum LOD clamp value
-
borderColor
- Returns:
- The predefined border color to use.
-
unnormalizedCoordinates
@Default default boolean unnormalizedCoordinates()- Returns:
trueif the sampler coordinates should unnormalized
-