Vulkan-Docs/doc/specs/vulkan/man/VkFormatFeatureFlags.txt

67 lines
2.3 KiB
Plaintext
Raw Normal View History

2016-02-16 09:53:44 +00:00
VkFormatFeatureFlags(3)
=======================
Name
----
VkFormatFeatureFlags - Capability flags of a particular format.
C Specification
---------------
include::../flags/VkFormatFeatureFlags.txt[]
Constants
---------
ename:VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT::
Image views having this format support filtered and/or unfiltered sampling via sampled image
and combined image sampler descriptors.
ename:VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT::
Image views having this format support loads and stores via storage image descriptors.
ename:VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT::
Image views having this format support atomic operations via storage image descriptors.
ename:VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT::
Buffer views having this format support uniform reads via uniform texel buffer descriptors.
ename:VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT::
Buffer views having this format support loads and stores via storage texel buffer descriptors.
ename:VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT::
Buffer views having this format support atomic operations via storage texel buffer descriptors.
ename:VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT::
Indicates that the format is supported for vertex attributes.
ename:VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT::
Indicates that the format is supported for color attachment views and thus can be used as
framebuffer color attachment format.
ename:VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT::
Framebuffer color attachments having this format also support blending. +
If this flag is present then ename:VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT is also present.
ename:VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT::
Indicates that the format is supported for depth/stencil views and thus can be used as
framebuffer depth/stencil attachment format.
ename:VK_FORMAT_FEATURE_BLIT_SRC_BIT::
Format can be used as the source image of blits with flink:vkCmdBlitImage
ename:VK_FORMAT_FEATURE_BLIT_DST_BIT::
Format can be used as the destination image of blits with flink:vkCmdBlitImage
Description
-----------
These flags are used in the slink:VkFormatProperties structure that is returned by flink:vkGetPhysicalDeviceFormatProperties.
See Also
--------
slink:VkFormatProperties, flink:vkGetPhysicalDeviceFormatProperties
include::footer.txt[]