Package org.lwjgl.vulkan
Class EXTSamplerFilterMinmax
- java.lang.Object
-
- org.lwjgl.vulkan.EXTSamplerFilterMinmax
-
public final class EXTSamplerFilterMinmax extends java.lang.Object
In unextended Vulkan, minification and magnification filters such as LINEAR allow sampled image lookups to return a filtered texel value produced by computing a weighted average of a collection of texels in the neighborhood of the texture coordinate provided.This extension provides a new sampler parameter which allows applications to produce a filtered texel value by computing a component-wise minimum (MIN) or maximum (MAX) of the texels that would normally be averaged. The reduction mode is orthogonal to the minification and magnification filter parameters. The filter parameters are used to identify the set of texels used to produce a final filtered value; the reduction mode identifies how these texels are combined.
Examples
None.
- Name String
VK_EXT_sampler_filter_minmax
- Extension Type
- Device extension
- Registered Extension Number
- 131
- Revision
- 2
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Requires
VK_KHR_get_physical_device_properties2
- Contact
- Jeff Bolz jeffbolznv
- Last Modified Date
- 2017-05-19
- IP Status
- No known IP claims.
- Contributors
- Jeff Bolz, NVIDIA
- Piers Daniell, NVIDIA
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
VK_EXT_SAMPLER_FILTER_MINMAX_EXTENSION_NAME
The extension name.static int
VK_EXT_SAMPLER_FILTER_MINMAX_SPEC_VERSION
The extension specification version.static int
VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT
ExtendsVkFormatFeatureFlagBits
.static int
VK_SAMPLER_REDUCTION_MODE_MAX_EXT
VK_SAMPLER_REDUCTION_MODE_MIN_EXT
VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXTVkSamplerReductionModeEXT - Specify reduction mode for texture filteringstatic int
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT
VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXTExtendsVkStructureType
.
-
-
-
Field Detail
-
VK_EXT_SAMPLER_FILTER_MINMAX_SPEC_VERSION
The extension specification version.
-
VK_EXT_SAMPLER_FILTER_MINMAX_EXTENSION_NAME
The extension name.
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT, VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT
ExtendsVkStructureType
.Enum values:
-
VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT
ExtendsVkFormatFeatureFlagBits
.
-
VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT, VK_SAMPLER_REDUCTION_MODE_MIN_EXT, VK_SAMPLER_REDUCTION_MODE_MAX_EXT
VkSamplerReductionModeEXT - Specify reduction mode for texture filteringDescription
SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT
specifies that texel values are combined by computing a weighted average of values in the footprint, using weights as specified in the image operations chapter.SAMPLER_REDUCTION_MODE_MIN_EXT
specifies that texel values are combined by taking the component-wise minimum of values in the footprint with non-zero weights.SAMPLER_REDUCTION_MODE_MAX_EXT
specifies that texel values are combined by taking the component-wise maximum of values in the footprint with non-zero weights.
See Also
-
-