namespace Brutal.VulkanApi { /// /// VkImageViewUsage2CreateInfoKHR - Specify the intended usage of an image view /// /// /// /// The set of usages for the created image view can be restricted compared to /// the parent image's usage flags by adding a /// VkImageViewUsage2CreateInfoKHR structure to the pNext chain of /// VkImageViewCreateInfo. /// /// /// The VkImageViewUsage2CreateInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_extended_flags /// typedef struct VkImageViewUsage2CreateInfoKHR { /// VkStructureType sType; /// void* pNext; /// VkImageUsageFlags2KHR usage; /// } VkImageViewUsage2CreateInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct VkImageViewUsage2CreateInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ImageViewUsage2CreateInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Usage is a bitmask of VkImageUsageFlags2KHR specifying allowed usages of the image view. /// [FieldOffset(16)] public VkImageUsageFlags2KHR Usage; } }