Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype VkSamplerReductionModeEXT = VkSamplerReductionModeEXT Int32
- pattern VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT :: VkSamplerReductionModeEXT
- pattern VK_SAMPLER_REDUCTION_MODE_MIN_EXT :: VkSamplerReductionModeEXT
- pattern VK_SAMPLER_REDUCTION_MODE_MAX_EXT :: VkSamplerReductionModeEXT
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT :: VkStructureType
- pattern VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT :: VkFormatFeatureFlagBits
- pattern VK_EXT_SAMPLER_FILTER_MINMAX_SPEC_VERSION :: Integral a => a
- pattern VK_EXT_SAMPLER_FILTER_MINMAX_EXTENSION_NAME :: (Eq a, IsString a) => a
- data VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT = VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT {}
- data VkSamplerReductionModeCreateInfoEXT = VkSamplerReductionModeCreateInfoEXT {}
Documentation
newtype VkSamplerReductionModeEXT Source #
VkSamplerReductionModeEXT - Specify reduction mode for texture filtering
See Also
Instances
pattern VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT :: VkSamplerReductionModeEXT Source #
VK_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.
pattern VK_SAMPLER_REDUCTION_MODE_MIN_EXT :: VkSamplerReductionModeEXT Source #
VK_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.
pattern VK_SAMPLER_REDUCTION_MODE_MAX_EXT :: VkSamplerReductionModeEXT Source #
VK_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.
pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT :: VkStructureType Source #
pattern VK_EXT_SAMPLER_FILTER_MINMAX_SPEC_VERSION :: Integral a => a Source #
pattern VK_EXT_SAMPLER_FILTER_MINMAX_EXTENSION_NAME :: (Eq a, IsString a) => a Source #
data VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT Source #
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT - Structure describing sampler filter minmax limits that can be supported by an implementation
Members
The members of the VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
structure describe the following implementation-dependent limits:
Description
filterMinmaxSingleComponentFormats
is a boolean value indicating whether a minimum set of required formats support min/max filtering.
filterMinmaxImageComponentMapping
is a boolean value indicating whether the implementation supports non-identity component mapping of the image when doing min/max filtering.
If the VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
structure is
included in the pNext
chain of
VkPhysicalDeviceProperties2
,
it is filled with the implementation-dependent limits.
If filterMinmaxSingleComponentFormats
is VK_TRUE
, the following
formats must support the
VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT
feature with
VK_IMAGE_TILING_OPTIMAL
, if they support
VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT
.
VK_FORMAT_R8_UNORM
VK_FORMAT_R8_SNORM
VK_FORMAT_R16_UNORM
VK_FORMAT_R16_SNORM
VK_FORMAT_R16_SFLOAT
VK_FORMAT_R32_SFLOAT
VK_FORMAT_D16_UNORM
VK_FORMAT_X8_D24_UNORM_PACK32
VK_FORMAT_D32_SFLOAT
VK_FORMAT_D16_UNORM_S8_UINT
VK_FORMAT_D24_UNORM_S8_UINT
VK_FORMAT_D32_SFLOAT_S8_UINT
If the format is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports min/max filtering, and that min/max filtering of the depth aspect is supported when depth compare is disabled in the sampler.
If filterMinmaxImageComponentMapping
is VK_FALSE
the component
mapping of the image view used with min/max filtering must have been
created with the r
component set to VK_COMPONENT_SWIZZLE_IDENTITY
.
Only the r
component of the sampled image value is defined and the
other component values are undefined. If
filterMinmaxImageComponentMapping
is VK_TRUE
this restriction does
not apply and image component mapping works as normal.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT
See Also
VkBool32
, VkStructureType
Instances
data VkSamplerReductionModeCreateInfoEXT Source #
VkSamplerReductionModeCreateInfoEXT - Structure specifying sampler reduction mode
Description
If this structure is not present, reductionMode
is considered to be
VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT
.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT
reductionMode
must be a validVkSamplerReductionModeEXT
value
See Also
VkSamplerReductionModeCreateInfoEXT | |
|