IMAGE_TILING_LINEAR images as color attachments when all the color attachments in the render pass instance have IMAGE_TILING_LINEAR tiling. This extension adds a new flag bit FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV that extends the existing VkFormatFeatureFlagBits2KHR bits. This flag can be set for renderable color formats in the VkFormatProperties3KHR::linearTilingFeatures format properties structure member. Formats with the FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV flag may be used as color attachments as long as all the color attachments in the render pass instance have IMAGE_TILING_LINEAR tiling, and the formats their images views are created with have VkFormatProperties3KHR::linearTilingFeatures which include FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV. This extension supports both dynamic rendering and traditional render passes.
VK_NV_linear_color_attachmentVK_KHR_get_physical_device_properties2VK_KHR_format_feature_flags2| Modifier and Type | Field and Description |
|---|---|
| public static final long | VK_FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV
Extends |
| public static final String | VK_NV_LINEAR_COLOR_ATTACHMENT_EXTENSION_NAME
The extension name. |
| public static final int | VK_NV_LINEAR_COLOR_ATTACHMENT_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV
Extends |
| Access | Constructor and Description |
|---|---|
| private |
| VK_FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV | back to summary |
|---|---|
| public static final long VK_FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV Extends | |
| VK_NV_LINEAR_COLOR_ATTACHMENT_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_NV_LINEAR_COLOR_ATTACHMENT_EXTENSION_NAME The extension name. | |
| VK_NV_LINEAR_COLOR_ATTACHMENT_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_NV_LINEAR_COLOR_ATTACHMENT_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV Extends | |
| NVLinearColorAttachment | back to summary |
|---|---|
| private NVLinearColorAttachment() | |