namespace Brutal.VulkanApi { /// /// VkPhysicalDeviceImageFormatInfo2 - Structure specifying image creation parameters /// /// /// /// The VkPhysicalDeviceImageFormatInfo2 structure is defined as: /// /// /// // Provided by VK_VERSION_1_1 /// typedef struct VkPhysicalDeviceImageFormatInfo2 { /// VkStructureType sType; /// const void* pNext; /// VkFormat format; /// VkImageType type; /// VkImageTiling tiling; /// VkImageUsageFlags usage; /// VkImageCreateFlags flags; /// } VkPhysicalDeviceImageFormatInfo2; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkPhysicalDeviceImageFormatInfo2() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PhysicalDeviceImageFormatInfo2; /// /// Next is `NULL` or a pointer to a structure extending this structure. The pNext chain of VkPhysicalDeviceImageFormatInfo2 is used to provide additional image parameters to vkGetPhysicalDeviceImageFormatProperties2. /// [FieldOffset(8)] public void* Next; /// /// Format is a VkFormat value indicating the image format, corresponding to VkImageCreateInfo::format. /// [FieldOffset(16)] public VkFormat Format; /// /// Type is a VkImageType value indicating the image type, corresponding to VkImageCreateInfo::imageType. /// [FieldOffset(20)] public VkImageType Type; /// /// Tiling is a VkImageTiling value indicating the image tiling, corresponding to VkImageCreateInfo::tiling. /// [FieldOffset(24)] public VkImageTiling Tiling; /// /// Usage is a bitmask of VkImageUsageFlags indicating the intended usage of the image, corresponding to VkImageCreateInfo::usage. /// [FieldOffset(28)] public VkImageUsageFlags Usage; /// /// Flags is a bitmask of VkImageCreateFlags indicating additional parameters of the image, corresponding to VkImageCreateInfo::flags. /// [FieldOffset(32)] public VkImageCreateFlags Flags; } }