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
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
customBorderColor
is a VkClearColorValue representing the desired custom sampler border color. -
format
is a VkFormat representing the format of the sampled image view(s). This field may beVK_FORMAT_UNDEFINED
if thecustomBorderColorWithoutFormat
feature 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.