vulkan-3.26.1: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Extensions.VK_NV_linear_color_attachment

Description

Name

VK_NV_linear_color_attachment - device extension

VK_NV_linear_color_attachment

Name String
VK_NV_linear_color_attachment
Extension Type
Device extension
Registered Extension Number
431
Revision
1
Ratification Status
Not ratified
Extension and Version Dependencies
VK_KHR_get_physical_device_properties2
Contact

Other Extension Metadata

Last Modified Date
2021-12-02
Interactions and External Dependencies
  • This extension requires VK_KHR_format_feature_flags2
Contributors
  • Pat Brown, NVIDIA
  • Piers Daniell, NVIDIA
  • Sourav Parmar, NVIDIA

Description

This extension expands support for using 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 FormatFeatureFlagBits2KHR bits. This flag can be set for renderable color formats in the FormatProperties3KHR::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 FormatProperties3KHR::linearTilingFeatures which include FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV. This extension supports both dynamic rendering and traditional render passes.

New Structures

New Enum Constants

If VK_KHR_format_feature_flags2 is supported:

Version History

  • Revision 1, 2021-11-29 (sourav parmar)

    • Initial draft

See Also

PhysicalDeviceLinearColorAttachmentFeaturesNV

Document Notes

For more information, see the Vulkan Specification

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

Synopsis

Documentation

data PhysicalDeviceLinearColorAttachmentFeaturesNV Source #

VkPhysicalDeviceLinearColorAttachmentFeaturesNV - Structure describing whether Linear Color Attachment rendering is supported by the implementation

Members

This structure describes the following feature:

Description

If the PhysicalDeviceLinearColorAttachmentFeaturesNV structure is included in the pNext chain of the PhysicalDeviceFeatures2 structure passed to getPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. PhysicalDeviceLinearColorAttachmentFeaturesNV can also be used in the pNext chain of DeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

See Also

VK_NV_linear_color_attachment, Bool32, StructureType

Constructors

PhysicalDeviceLinearColorAttachmentFeaturesNV 

Fields

Instances

Instances details
Storable PhysicalDeviceLinearColorAttachmentFeaturesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_linear_color_attachment

Show PhysicalDeviceLinearColorAttachmentFeaturesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_linear_color_attachment

Eq PhysicalDeviceLinearColorAttachmentFeaturesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_linear_color_attachment

FromCStruct PhysicalDeviceLinearColorAttachmentFeaturesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_linear_color_attachment

ToCStruct PhysicalDeviceLinearColorAttachmentFeaturesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_linear_color_attachment

Zero PhysicalDeviceLinearColorAttachmentFeaturesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_linear_color_attachment

type NV_LINEAR_COLOR_ATTACHMENT_EXTENSION_NAME = "VK_NV_linear_color_attachment" Source #