namespace Brutal.VulkanApi { /// /// VkImageUsageFlagBits2KHR - Bitmask specifying intended use of an image /// /// /// /// Bits which can be set in /// VkImageUsageFlags2CreateInfoKHR::usage, specifying intended /// usage of an image, are: /// /// /// // Provided by VK_KHR_extended_flags /// // Flag bits for VkImageUsageFlagBits2KHR /// typedef VkFlags64 VkImageUsageFlagBits2KHR; /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_TRANSFER_SRC_BIT_KHR = 0x00000001ULL; /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_TRANSFER_DST_BIT_KHR = 0x00000002ULL; /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_SAMPLED_BIT_KHR = 0x00000004ULL; /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_STORAGE_BIT_KHR = 0x00000008ULL; /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_COLOR_ATTACHMENT_BIT_KHR = 0x00000010ULL; /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_DEPTH_STENCIL_ATTACHMENT_BIT_KHR = 0x00000020ULL; /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_TRANSIENT_ATTACHMENT_BIT_KHR = 0x00000040ULL; /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_INPUT_ATTACHMENT_BIT_KHR = 0x00000080ULL; /// // Provided by VK_KHR_extended_flags with VK_KHR_fragment_shading_rate /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR = 0x00000100ULL; /// // Provided by VK_KHR_extended_flags with VK_EXT_fragment_density_map /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_FRAGMENT_DENSITY_MAP_BIT_EXT = 0x00000200ULL; /// // Provided by VK_KHR_extended_flags with VK_KHR_video_decode_queue /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_VIDEO_DECODE_DST_BIT_KHR = 0x00000400ULL; /// // Provided by VK_KHR_extended_flags with VK_KHR_video_decode_queue /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_VIDEO_DECODE_SRC_BIT_KHR = 0x00000800ULL; /// // Provided by VK_KHR_extended_flags with VK_KHR_video_decode_queue /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_VIDEO_DECODE_DPB_BIT_KHR = 0x00001000ULL; /// // Provided by VK_KHR_extended_flags with VK_KHR_video_encode_queue /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_VIDEO_ENCODE_DST_BIT_KHR = 0x00002000ULL; /// // Provided by VK_KHR_extended_flags with VK_KHR_video_encode_queue /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_VIDEO_ENCODE_SRC_BIT_KHR = 0x00004000ULL; /// // Provided by VK_KHR_extended_flags with VK_KHR_video_encode_queue /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_VIDEO_ENCODE_DPB_BIT_KHR = 0x00008000ULL; /// // Provided by VK_KHR_extended_flags with VK_HUAWEI_invocation_mask /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_INVOCATION_MASK_BIT_HUAWEI = 0x00040000ULL; /// // Provided by VK_KHR_extended_flags with VK_EXT_attachment_feedback_loop_layout /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT = 0x00080000ULL; /// // Provided by VK_KHR_extended_flags with VK_QCOM_image_processing /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_SAMPLE_WEIGHT_BIT_QCOM = 0x00100000ULL; /// // Provided by VK_KHR_extended_flags with VK_QCOM_image_processing /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_SAMPLE_BLOCK_MATCH_BIT_QCOM = 0x00200000ULL; /// // Provided by VK_VERSION_1_4 with VK_KHR_extended_flags /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_HOST_TRANSFER_BIT_KHR = 0x00400000ULL; /// // Provided by VK_KHR_extended_flags with VK_ARM_tensors /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_TENSOR_ALIASING_BIT_ARM = 0x00800000ULL; /// // Provided by VK_KHR_extended_flags with VK_KHR_video_encode_quantization_map /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR = 0x02000000ULL; /// // Provided by VK_KHR_extended_flags with VK_KHR_video_encode_quantization_map /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR = 0x04000000ULL; /// // Provided by VK_KHR_extended_flags with VK_QCOM_tile_memory_heap /// static const VkImageUsageFlagBits2KHR VK_IMAGE_USAGE_2_TILE_MEMORY_BIT_QCOM = 0x08000000ULL; /// /// [Flags] public enum VkImageUsageFlags2KHR : ulong { /// No flags set. None = 0, /// /// TransferSrcBitKHR specifies that the image can be used as the source of a transfer command. /// TransferSrcBitKHR = 0x00000001, /// /// TransferDstBitKHR specifies that the image can be used as the destination of a transfer command. /// TransferDstBitKHR = 0x00000002, /// /// SampledBitKHR specifies that the image can be used to create a VkImageView suitable for occupying a VkDescriptorSet slot either of type VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, and be sampled by a shader. /// SampledBitKHR = 0x00000004, /// /// StorageBitKHR specifies that the image can be used to create a VkImageView suitable for occupying a VkDescriptorSet slot of type VK_DESCRIPTOR_TYPE_STORAGE_IMAGE. /// StorageBitKHR = 0x00000008, /// /// ColorAttachmentBitKHR specifies that the image can be used to create a VkImageView suitable for use as a color or resolve attachment in a VkFramebuffer. /// ColorAttachmentBitKHR = 0x00000010, /// /// DepthStencilAttachmentBitKHR specifies that the image can be used to create a VkImageView suitable for use as a depth/stencil attachment in a VkFramebuffer. /// DepthStencilAttachmentBitKHR = 0x00000020, /// /// TransientAttachmentBitKHR specifies that implementations may: support using memory allocations^ with the VK_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 VkImageView suitable for use as a color, resolve, depth/stencil, or input attachment. /// TransientAttachmentBitKHR = 0x00000040, /// /// InputAttachmentBitKHR specifies that the image can be used to create a VkImageView suitable for occupying VkDescriptorSet slot of type VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT; be read from a shader as an input attachment; and be used as an input attachment in a framebuffer. /// InputAttachmentBitKHR = 0x00000080, /// /// FragmentShadingRateAttachmentBitKHR /// FragmentShadingRateAttachmentBitKHR = 0x00000100, /// /// FragmentDensityMapBitEXT /// FragmentDensityMapBitEXT = 0x00000200, /// /// VideoDecodeDstBitKHR /// VideoDecodeDstBitKHR = 0x00000400, /// /// VideoDecodeSrcBitKHR /// VideoDecodeSrcBitKHR = 0x00000800, /// /// VideoDecodeDpbBitKHR /// VideoDecodeDpbBitKHR = 0x00001000, /// /// VideoEncodeDstBitKHR /// VideoEncodeDstBitKHR = 0x00002000, /// /// VideoEncodeSrcBitKHR /// VideoEncodeSrcBitKHR = 0x00004000, /// /// VideoEncodeDpbBitKHR /// VideoEncodeDpbBitKHR = 0x00008000, /// /// InvocationMaskBitHUAWEI /// InvocationMaskBitHUAWEI = 0x00040000, /// /// AttachmentFeedbackLoopBitEXT /// AttachmentFeedbackLoopBitEXT = 0x00080000, /// /// SampleWeightBitQCOM /// SampleWeightBitQCOM = 0x00100000, /// /// SampleBlockMatchBitQCOM /// SampleBlockMatchBitQCOM = 0x00200000, /// /// HostTransferBitKHR /// HostTransferBitKHR = 0x00400000, /// /// TensorAliasingBitARM /// TensorAliasingBitARM = 0x00800000, /// /// VideoEncodeQuantizationDeltaMapBitKHR /// VideoEncodeQuantizationDeltaMapBitKHR = 0x02000000, /// /// VideoEncodeEmphasisMapBitKHR /// VideoEncodeEmphasisMapBitKHR = 0x04000000, /// /// TileMemoryBitQCOM /// TileMemoryBitQCOM = 0x08000000, } }