C Specification
In addition to the predefined border color values, applications can provide
a custom border color value by including the
VkSamplerCustomBorderColorCreateInfoEXT structure in the
VkSamplerCreateInfo::pNext chain.
The VkSamplerCustomBorderColorCreateInfoEXT structure is defined as:
// Provided by VK_EXT_custom_border_color
typedef struct VkSamplerCustomBorderColorCreateInfoEXT {
VkStructureType sType;
const void* pNext;
VkClearColorValue customBorderColor;
VkFormat format;
} VkSamplerCustomBorderColorCreateInfoEXT;
Members
-
sTypeis the type of this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
customBorderColoris a VkClearColorValue representing the desired custom sampler border color. -
formatis a VkFormat representing the format of the sampled image view(s). This field may beVK_FORMAT_UNDEFINEDif thecustomBorderColorWithoutFormatfeature is enabled.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.