namespace Brutal.VulkanApi { /// /// VkImageAspectFlagBits - Bitmask specifying which aspects of an image are included in a view /// /// /// /// Bits which can be set in an aspect mask to specify aspects of an image for /// purposes such as identifying a subresource, are: /// /// /// // Provided by VK_VERSION_1_0 /// typedef enum VkImageAspectFlagBits { /// VK_IMAGE_ASPECT_COLOR_BIT = 0x00000001, /// VK_IMAGE_ASPECT_DEPTH_BIT = 0x00000002, /// VK_IMAGE_ASPECT_STENCIL_BIT = 0x00000004, /// VK_IMAGE_ASPECT_METADATA_BIT = 0x00000008, /// // Provided by VK_VERSION_1_1 /// VK_IMAGE_ASPECT_PLANE_0_BIT = 0x00000010, /// // Provided by VK_VERSION_1_1 /// VK_IMAGE_ASPECT_PLANE_1_BIT = 0x00000020, /// // Provided by VK_VERSION_1_1 /// VK_IMAGE_ASPECT_PLANE_2_BIT = 0x00000040, /// // Provided by VK_VERSION_1_3 /// VK_IMAGE_ASPECT_NONE = 0, /// // Provided by VK_EXT_image_drm_format_modifier /// VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT = 0x00000080, /// // Provided by VK_EXT_image_drm_format_modifier /// VK_IMAGE_ASPECT_MEMORY_PLANE_1_BIT_EXT = 0x00000100, /// // Provided by VK_EXT_image_drm_format_modifier /// VK_IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXT = 0x00000200, /// // Provided by VK_EXT_image_drm_format_modifier /// VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT = 0x00000400, /// // Provided by VK_KHR_sampler_ycbcr_conversion /// VK_IMAGE_ASPECT_PLANE_0_BIT_KHR = VK_IMAGE_ASPECT_PLANE_0_BIT, /// // Provided by VK_KHR_sampler_ycbcr_conversion /// VK_IMAGE_ASPECT_PLANE_1_BIT_KHR = VK_IMAGE_ASPECT_PLANE_1_BIT, /// // Provided by VK_KHR_sampler_ycbcr_conversion /// VK_IMAGE_ASPECT_PLANE_2_BIT_KHR = VK_IMAGE_ASPECT_PLANE_2_BIT, /// // Provided by VK_KHR_maintenance4 /// VK_IMAGE_ASPECT_NONE_KHR = VK_IMAGE_ASPECT_NONE, /// } VkImageAspectFlagBits; /// /// [Flags] public enum VkImageAspectFlags : int { /// /// ColorBit specifies the color aspect. /// ColorBit = 0x00000001, /// /// DepthBit specifies the depth aspect. /// DepthBit = 0x00000002, /// /// StencilBit specifies the stencil aspect. /// StencilBit = 0x00000004, /// /// MetadataBit specifies the metadata aspect used for sparse resource^ operations. /// MetadataBit = 0x00000008, /// /// Plane0Bit /// Plane0Bit = 0x00000010, /// /// Plane1Bit /// Plane1Bit = 0x00000020, /// /// Plane2Bit /// Plane2Bit = 0x00000040, /// /// None /// None = 0, /// /// MemoryPlane0BitEXT /// MemoryPlane0BitEXT = 0x00000080, /// /// MemoryPlane1BitEXT /// MemoryPlane1BitEXT = 0x00000100, /// /// MemoryPlane2BitEXT /// MemoryPlane2BitEXT = 0x00000200, /// /// MemoryPlane3BitEXT /// MemoryPlane3BitEXT = 0x00000400, /// /// Plane0BitKHR /// Plane0BitKHR = Plane0Bit, /// /// Plane1BitKHR /// Plane1BitKHR = Plane1Bit, /// /// Plane2BitKHR /// Plane2BitKHR = Plane2Bit, /// /// NoneKHR /// NoneKHR = None, /// /// FlagBitsMaxEnum /// FlagBitsMaxEnum = 0x7FFFFFFF, } }