Modulevulkan-3.27GHC2021
Vulkan.Core10.Enums.ImageUsageFlagBits
- 2 types
- Packagevulkan-3.27
- Exports19
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceImageUsageFlagBits.hs
VkImageUsageFlagBits - Bitmask specifying intended usage of an image
Description
IMAGE_USAGE_TRANSFER_SRC_BIT specifies that the image can be used as the source of a transfer command.
IMAGE_USAGE_TRANSFER_DST_BIT specifies that the image can be used as the destination of a transfer command.
IMAGE_USAGE_SAMPLED_BIT specifies that the image can be used to create a ImageView suitable for occupying a DescriptorSet slot either of type DESCRIPTOR_TYPE_SAMPLED_IMAGE or DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, and be sampled by a shader.
IMAGE_USAGE_STORAGE_BIT specifies that the image can be used to create a ImageView suitable for occupying a DescriptorSet slot of type DESCRIPTOR_TYPE_STORAGE_IMAGE.
IMAGE_USAGE_COLOR_ATTACHMENT_BIT specifies that the image can be used to create a ImageView suitable for use as a color or resolve attachment in a Framebuffer.
IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT specifies that the image can be used to create a ImageView suitable for use as a depth/stencil or depth/stencil resolve attachment in a Framebuffer.
IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT specifies that implementations may support using memory allocations with the MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT to back an image with this usage. This bit can be set for any image that can be used to create a ImageView suitable for use as a color, resolve, depth/stencil, or input attachment.
IMAGE_USAGE_INPUT_ATTACHMENT_BIT specifies that the image can be used to create a ImageView suitable for occupying DescriptorSet slot of type DESCRIPTOR_TYPE_INPUT_ATTACHMENT; be read from a shader as an input attachment; and be used as an input attachment in a framebuffer.
IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT specifies that the image can be used to create a ImageView suitable for use as a fragment density map image.
IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR specifies that the image can be used to create a ImageView suitable for use as a fragment shading rate attachment or shading rate image
VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR specifies that the image can be used as a decode output picture in a video decode operation.
VK_IMAGE_USAGE_VIDEO_DECODE_SRC_BIT_KHR is reserved for future use.
VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR specifies that the image can be used as an output reconstructed picture or an input reference picture in a video decode operation.
VK_IMAGE_USAGE_VIDEO_ENCODE_DST_BIT_KHR is reserved for future use.
VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR specifies that the image can be used as an encode input picture in a video encode operation.
VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR specifies that the image can be used as an output reconstructed picture or an input reference picture in a video encode operation.
IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT specifies that the image can be used as a color or depth/stencil attachment with feedback loop enabled.
IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM specifies that the image can be used in weight image sampling operations.
IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM specifies that the image can be used in block matching operations.
IMAGE_USAGE_TILE_MEMORY_BIT_QCOM specifies that the image can be bound to DeviceMemory allocated from a MemoryHeap with the MEMORY_HEAP_TILE_MEMORY_BIT_QCOM property.
IMAGE_USAGE_HOST_TRANSFER_BIT specifies that the image can be used with host copy commands and host layout transitions.
VK_IMAGE_USAGE_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR specifies that the image can be used as a quantization delta map in a video encode operation.
VK_IMAGE_USAGE_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR specifies that the image can be used as an emphasis map in a video encode operation.
IMAGE_USAGE_HOST_TRANSFER_BIT_EXT specifies that the image can be used with host copy commands and host layout transitions.
IMAGE_USAGE_TENSOR_ALIASING_BIT_ARM specifies that the image can be transitioned to the IMAGE_LAYOUT_TENSOR_ALIASING_ARM layout. See https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#resources-memory-aliasing for a complete set of rules for tensor/image aliasing.
See Also
Constructors
Instances8Eq, Ord, Read, Show, Bits, FiniteBits, …
Eq ImageUsageFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.ImageUsageFlagBitsOrd ImageUsageFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.ImageUsageFlagBitsRead ImageUsageFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.ImageUsageFlagBitsShow ImageUsageFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.ImageUsageFlagBitsBits ImageUsageFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.ImageUsageFlagBitsFiniteBits ImageUsageFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.ImageUsageFlagBitsStorable ImageUsageFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.ImageUsageFlagBitsZero ImageUsageFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.ImageUsageFlagBits