namespace Brutal.VulkanApi { /// /// VkPhysicalDeviceSparseImageFormatInfo2 - Structure specifying sparse image format inputs /// /// /// /// The VkPhysicalDeviceSparseImageFormatInfo2 structure is defined as: /// /// /// // Provided by VK_VERSION_1_1 /// typedef struct VkPhysicalDeviceSparseImageFormatInfo2 { /// VkStructureType sType; /// const void* pNext; /// VkFormat format; /// VkImageType type; /// VkSampleCountFlagBits samples; /// VkImageUsageFlags usage; /// VkImageTiling tiling; /// } VkPhysicalDeviceSparseImageFormatInfo2; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkPhysicalDeviceSparseImageFormatInfo2() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PhysicalDeviceSparseImageFormatInfo2; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Format is the image format. /// [FieldOffset(16)] public VkFormat Format; /// /// Type is the dimensionality of the image. /// [FieldOffset(20)] public VkImageType Type; /// /// Samples is a VkSampleCountFlags value specifying the number of samples per texel. /// [FieldOffset(24)] public VkSampleCountFlags Samples; /// /// Usage is a bitmask of VkImageUsageFlags describing the intended usage of the image. /// [FieldOffset(28)] public VkImageUsageFlags Usage; /// /// Tiling is the tiling arrangement of the texel blocks in memory. /// [FieldOffset(32)] public VkImageTiling Tiling; } }