Since VK_EXT_custom_border_color has already shipped, this new extension VK_EXT_border_color_swizzle was created to define the interaction between custom border colors and non-identity image view swizzles, and provide a work-around for implementations that must pre-swizzle the sampler border color to match the image view component mapping it is combined with.
This extension also defines the behavior between samplers with an opaque black border color and image views with a non-identity component swizzle, which was previously left undefined.
VK_EXT_border_color_swizzleVK_EXT_custom_border_color| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_EXT_BORDER_COLOR_SWIZZLE_EXTENSION_NAME
The extension name. |
| public static final int | VK_EXT_BORDER_COLOR_SWIZZLE_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT
Extends |
| public static final int | VK_STRUCTURE_TYPE_SAMPLER_BORDER_COLOR_COMPONENT_MAPPING_CREATE_INFO_EXT
Extends |
| Access | Constructor and Description |
|---|---|
| private |
| VK_EXT_BORDER_COLOR_SWIZZLE_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_EXT_BORDER_COLOR_SWIZZLE_EXTENSION_NAME The extension name. | |
| VK_EXT_BORDER_COLOR_SWIZZLE_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_EXT_BORDER_COLOR_SWIZZLE_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT Extends Enum values: | |
| VK_STRUCTURE_TYPE_SAMPLER_BORDER_COLOR_COMPONENT_MAPPING_CREATE_INFO_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SAMPLER_BORDER_COLOR_COMPONENT_MAPPING_CREATE_INFO_EXT Extends Enum values: | |
| EXTBorderColorSwizzle | back to summary |
|---|---|
| private EXTBorderColorSwizzle() | |