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

Vulkan.Core10.Enums.ImageUsageFlagBits

Synopsis

Documentation

newtype ImageUsageFlagBits Source #

VkImageUsageFlagBits - Bitmask specifying intended usage of an image

See Also

VK_VERSION_1_0, ImageUsageFlags

Bundled Patterns

pattern IMAGE_USAGE_TRANSFER_SRC_BIT :: ImageUsageFlagBits

IMAGE_USAGE_TRANSFER_SRC_BIT specifies that the image can be used as the source of a transfer command.

pattern IMAGE_USAGE_TRANSFER_DST_BIT :: ImageUsageFlagBits

IMAGE_USAGE_TRANSFER_DST_BIT specifies that the image can be used as the destination of a transfer command.

pattern IMAGE_USAGE_SAMPLED_BIT :: ImageUsageFlagBits

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.

pattern IMAGE_USAGE_STORAGE_BIT :: ImageUsageFlagBits

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.

pattern IMAGE_USAGE_COLOR_ATTACHMENT_BIT :: ImageUsageFlagBits

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.

pattern IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT :: ImageUsageFlagBits

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.

pattern IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT :: ImageUsageFlagBits

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.

pattern IMAGE_USAGE_INPUT_ATTACHMENT_BIT :: ImageUsageFlagBits

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.

pattern IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM :: ImageUsageFlagBits 
pattern IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM :: ImageUsageFlagBits 
pattern IMAGE_USAGE_INVOCATION_MASK_BIT_HUAWEI :: ImageUsageFlagBits 
pattern IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT :: ImageUsageFlagBits

IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT specifies that the image can be transitioned to the IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT layout to be used as a color or depth/stencil attachment in a Framebuffer and/or as a read-only input resource in a shader (sampled image, combined image sampler or input attachment) in the same render pass.

pattern IMAGE_USAGE_HOST_TRANSFER_BIT_EXT :: ImageUsageFlagBits

IMAGE_USAGE_HOST_TRANSFER_BIT_EXT specifies that the image can be used with host copy commands and host layout transitions.

pattern IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR :: ImageUsageFlagBits

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

pattern IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT :: ImageUsageFlagBits

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.

Instances

Instances details
Storable ImageUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.ImageUsageFlagBits

Bits ImageUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.ImageUsageFlagBits

FiniteBits ImageUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.ImageUsageFlagBits

Read ImageUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.ImageUsageFlagBits

Show ImageUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.ImageUsageFlagBits

Eq ImageUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.ImageUsageFlagBits

Ord ImageUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.ImageUsageFlagBits

Zero ImageUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.ImageUsageFlagBits