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:
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 an extension-specific 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 the customBorderColorWithoutFormat 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.
Copyright
Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.