Structures
VkSamplerReductionModeCreateInfo
Structure specifying sampler reduction mode
The VkSamplerReductionModeCreateInfo
structure is defined as:
typedef struct VkSamplerReductionModeCreateInfo {
VkStructureType sType;
const void* pNext;
VkSamplerReductionMode reductionMode;
} VkSamplerReductionModeCreateInfo;
or the equivalent
typedef VkSamplerReductionModeCreateInfo VkSamplerReductionModeCreateInfoEXT;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.reductionMode
is a VkSamplerReductionMode value controlling how texture filtering combines texel values.
If the pNext
chain of VkSamplerCreateInfo includes a
VkSamplerReductionModeCreateInfo
structure, then that structure
includes a mode controlling how texture filtering combines texel values.
If this structure is not present, reductionMode
is considered to be
VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE
.
Valid Usage (Implicit)
VUID-VkSamplerReductionModeCreateInfo-sType-sType
sType
must be VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO
VUID-VkSamplerReductionModeCreateInfo-reductionMode-parameter
reductionMode
must be a valid VkSamplerReductionMode value