VKFORMATFEATUREFLAGS(3)

NAME
VkFormatFeatureFlags - Capability flags of a particular format.

C SPECIFICATION

    typedef VkFlags VkFormatFeatureFlags;

CONSTANTS

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.

VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT
    Image views having this format support loads and stores via storage image descriptors.

VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
    Image views having this format support atomic operations via storage image descriptors.

VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT
    Buffer views having this format support uniform reads via uniform texel buffer descriptors.

VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT
    Buffer views having this format support loads and stores via storage texel buffer descriptors.

VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
    Buffer views having this format support atomic operations via storage texel buffer descriptors.

VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT
    Indicates that the format is supported for vertex attributes.

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.

VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
    Framebuffer color attachments having this format also support blending. If this flag is present then VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT is also present.

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.

VK_FORMAT_FEATURE_BLIT_SRC_BIT
    Format can be used as the source image of blits with vkCmdBlitImage

VK_FORMAT_FEATURE_BLIT_DST_BIT
    Format can be used as the destination image of blits with vkCmdBlitImage

DESCRIPTION

These flags are used in the VkFormatProperties structure that is returned by vkGetPhysicalDeviceFormatProperties.

SEE ALSO

VkFormatProperties, vkGetPhysicalDeviceFormatProperties

COPYRIGHT

Copyright © 2014-2016 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.

AUTHOR

Khronos Group
    Author.