namespace Brutal.VulkanApi { /// /// VkImageViewUsageCreateInfo - 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 /// VkImageViewUsageCreateInfo structure to the pNext chain of /// VkImageViewCreateInfo. /// /// /// The VkImageViewUsageCreateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_1 /// typedef struct VkImageViewUsageCreateInfo { /// VkStructureType sType; /// const void* pNext; /// VkImageUsageFlags usage; /// } VkImageViewUsageCreateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct VkImageViewUsageCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ImageViewUsageCreateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Usage is a bitmask of VkImageUsageFlags specifying allowed usages of the image view. /// [FieldOffset(16)] public VkImageUsageFlags Usage; } }