Samplers

VkSamplerOpaque handle to a sampler object
vkCreateSamplerCreate a new sampler object
VkSamplerCreateInfoStructure specifying parameters of a newly created sampler
VK_LOD_CLAMP_NONEMaximum LOD unclamped access sentinel
VkSamplerCreateFlagBitsBitmask specifying additional parameters of sampler
VkSamplerCreateFlagsReserved for future use
VkSamplerReductionModeCreateInfoStructure specifying sampler reduction mode
VkSamplerReductionModeSpecify reduction mode for texture filtering
VkSamplerCubicWeightsCreateInfoQCOMStructure specifying sampler cubic weights
VkCubicFilterWeightsQCOMSpecify cubic weights for texture filtering
VkFilterSpecify filters used for texture lookups
VkSamplerMipmapModeSpecify mipmap mode used for texture lookups
VkSamplerAddressModeSpecify behavior of sampling with texture coordinates outside an image
VkCompareOpComparison operator for depth, stencil, and sampler operations
VkBorderColorSpecify border color used for texture lookups
vkDestroySamplerDestroy a sampler object

Sampler Y′CBCR Conversion

VkSamplerYcbcrConversionInfoStructure specifying Y′C<subscript>B</subscript>C<subscript>R</subscript> conversion to a sampler or image view
VkSamplerYcbcrConversionOpaque handle to a device-specific sampler Y′C<subscript>B</subscript>C<subscript>R</subscript> conversion description
vkCreateSamplerYcbcrConversionCreate a new Y′C<subscript>B</subscript>C<subscript>R</subscript> conversion
VkSamplerYcbcrConversionCreateInfoStructure specifying the parameters of the newly created conversion
VkSamplerYcbcrModelConversionColor model component of a color space
VkSamplerYcbcrRangeRange of encoded values in a color space
VkChromaLocationPosition of downsampled chroma samples
VkSamplerYcbcrConversionYcbcrDegammaCreateInfoQCOMStructure specifying Y′C<subscript>B</subscript>C<subscript>R</subscript> degamma parameters
vkDestroySamplerYcbcrConversionDestroy a created Y′C<subscript>B</subscript>C<subscript>R</subscript> conversion

Custom Border Colors

VkSamplerCustomBorderColorCreateInfoEXTStructure specifying custom border color
VkSamplerBorderColorComponentMappingCreateInfoEXTStructure specifying the component mapping of the border color

Custom Border Color Registration

When using descriptor heaps, it is possible to create a sampler descriptor without creating a sampler object. Without this object, implementations using a fixed palette of border colors have no way to know which custom border colors are active or not.

In order to use custom border colors with descriptor heaps, border colors must instead be registered with the implementation and unregistered when they are no longer in use, and the registered index provided when writing the sampler descriptor.

vkRegisterCustomBorderColorEXTRegister a custom border color
vkUnregisterCustomBorderColorEXTUnregister a custom border color
VkSamplerCustomBorderColorIndexCreateInfoEXTStructure specifying the custom border color index for a sampler

Sampler block matching

VkSamplerBlockMatchWindowCreateInfoQCOMStructure specifying the block match window parameters
VkBlockMatchWindowCompareModeQCOMBlock match window compare modes