namespace Brutal.VulkanApi { /// /// VkImageCompressionPropertiesEXT - Compression properties of an image /// /// /// /// To query the compression properties of an image, add a /// VkImageCompressionPropertiesEXT structure to the pNext chain of /// the VkSubresourceLayout2 structure in a call to /// vkGetImageSubresourceLayout2. /// /// /// To determine the compression rates that are supported for a given image /// format, add a VkImageCompressionPropertiesEXT structure to the /// pNext chain of the VkImageFormatProperties2 structure in a call /// to vkGetPhysicalDeviceImageFormatProperties2. /// /// /// [NOTE] /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct VkImageCompressionPropertiesEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ImageCompressionPropertiesEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// ImageCompressionFlags returns a value describing the compression controls that apply to the image. The value will be either VK_IMAGE_COMPRESSION_DEFAULT_EXT to indicate no fixed-rate compression, VK_IMAGE_COMPRESSION_FIXED_RATE_EXPLICIT_EXT to indicate fixed-rate compression, or VK_IMAGE_COMPRESSION_DISABLED_EXT to indicate no compression. /// [FieldOffset(16)] public VkImageCompressionFlagsEXT ImageCompressionFlags; /// /// ImageCompressionFixedRateFlags returns a VkImageCompressionFixedRateFlagsEXT value describing the compression rates that apply to the specified aspect of the image. /// [FieldOffset(20)] public VkImageCompressionFixedRateFlagsEXT ImageCompressionFixedRateFlags; } }