namespace Brutal.VulkanApi { /// /// VkImageFormatListCreateInfo - Specify that an image <i>can</i> be used with a particular set of formats /// /// /// /// If the pNext chain of VkImageCreateInfo includes a /// VkImageFormatListCreateInfo structure, then that structure contains a /// list of all formats that can be used when creating views of this image. /// /// /// The VkImageFormatListCreateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_2 /// typedef struct VkImageFormatListCreateInfo { /// VkStructureType sType; /// const void* pNext; /// uint32_t viewFormatCount; /// const VkFormat* pViewFormats; /// } VkImageFormatListCreateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkImageFormatListCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ImageFormatListCreateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// ViewFormatCount is the number of entries in the pViewFormats array. /// [FieldOffset(16)] public int ViewFormatCount; /// /// ViewFormats is a pointer to an array of VkFormat values specifying all formats which can be used when creating views of this image. /// [FieldOffset(24)] public VkFormat* ViewFormats; } }