C Specification
The VkPhysicalDeviceCustomBorderColorFeaturesEXT
structure is defined
as:
// Provided by VK_EXT_custom_border_color
typedef struct VkPhysicalDeviceCustomBorderColorFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 customBorderColors;
VkBool32 customBorderColorWithoutFormat;
} VkPhysicalDeviceCustomBorderColorFeaturesEXT;
Description
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
customBorderColors
indicates that the implementation supports providing aborderColor
value with one of the following values at sampler creation time:-
VK_BORDER_COLOR_FLOAT_CUSTOM_EXT
-
VK_BORDER_COLOR_INT_CUSTOM_EXT
-
-
customBorderColorWithoutFormat
indicates that explicit formats are not required for custom border colors and the value of theformat
member of the VkSamplerCustomBorderColorCreateInfoEXT structure may beVK_FORMAT_UNDEFINED
. If this feature bit is not set, applications must provide the VkFormat of the image view(s) being sampled by this sampler in theformat
member of the VkSamplerCustomBorderColorCreateInfoEXT structure.
If the VkPhysicalDeviceCustomBorderColorFeaturesEXT
structure is included in the pNext
chain of the
VkPhysicalDeviceFeatures2 structure passed to
vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each
corresponding feature is supported.
VkPhysicalDeviceCustomBorderColorFeaturesEXT
can also be used in the pNext
chain of
VkDeviceCreateInfo to selectively enable these features.
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.