Enum
VkBorderColor
Specify border color used for texture lookups
Possible values of VkSamplerCreateInfo::borderColor
, specifying
the border color used for texture lookups, are:
typedef enum VkBorderColor {
VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK = 0,
VK_BORDER_COLOR_INT_TRANSPARENT_BLACK = 1,
VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK = 2,
VK_BORDER_COLOR_INT_OPAQUE_BLACK = 3,
VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE = 4,
VK_BORDER_COLOR_INT_OPAQUE_WHITE = 5,
} VkBorderColor;
VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK
specifies a transparent, floating-point format, black color.VK_BORDER_COLOR_INT_TRANSPARENT_BLACK
specifies a transparent, integer format, black color.VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK
specifies an opaque, floating-point format, black color.VK_BORDER_COLOR_INT_OPAQUE_BLACK
specifies an opaque, integer format, black color.VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE
specifies an opaque, floating-point format, white color.VK_BORDER_COLOR_INT_OPAQUE_WHITE
specifies an opaque, integer format, white color.VK_BORDER_COLOR_FLOAT_CUSTOM_EXT
indicates that a VkSamplerCustomBorderColorCreateInfoEXT structure is included in the VkSamplerCreateInfo::pNext
chain containing the color data in floating-point format.VK_BORDER_COLOR_INT_CUSTOM_EXT
indicates that a VkSamplerCustomBorderColorCreateInfoEXT structure is included in the VkSamplerCreateInfo::pNext
chain containing the color data in integer format.
These colors are described in detail in Texel Replacement.