namespace Brutal.VulkanApi { /// /// VkImageViewCreateInfo - Structure specifying parameters of a newly created image view /// /// /// /// The VkImageViewCreateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkImageViewCreateInfo { /// VkStructureType sType; /// const void* pNext; /// VkImageViewCreateFlags flags; /// VkImage image; /// VkImageViewType viewType; /// VkFormat format; /// VkComponentMapping components; /// VkImageSubresourceRange subresourceRange; /// } VkImageViewCreateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 80)] public unsafe partial struct VkImageViewCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ImageViewCreateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkImageViewCreateFlags specifying additional parameters of the image view. /// [FieldOffset(16)] public VkImageViewCreateFlags Flags; /// /// Image is a VkImage on which the view will be created. /// [FieldOffset(24)] public VkImage Image; /// /// ViewType is a VkImageViewType value specifying the type of the image view. /// [FieldOffset(32)] public VkImageViewType ViewType; /// /// Format is a VkFormat specifying the format and type used to interpret texel blocks of the image. /// [FieldOffset(36)] public VkFormat Format; /// /// Components is a VkComponentMapping structure specifying a remapping of color components (or of depth or stencil components after they have been converted into color components). /// [FieldOffset(40)] public VkComponentMapping Components; /// /// SubresourceRange is a VkImageSubresourceRange structure selecting the set of mipmap levels and array layers to be accessible to the view. /// [FieldOffset(56)] public VkImageSubresourceRange SubresourceRange; } }