namespace Brutal.VulkanApi { /// /// VkFramebufferAttachmentImageInfo - Structure specifying parameters of an image that will be used with a framebuffer /// /// /// /// The VkFramebufferAttachmentImageInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_2 /// typedef struct VkFramebufferAttachmentImageInfo { /// VkStructureType sType; /// const void* pNext; /// VkImageCreateFlags flags; /// VkImageUsageFlags usage; /// uint32_t width; /// uint32_t height; /// uint32_t layerCount; /// uint32_t viewFormatCount; /// const VkFormat* pViewFormats; /// } VkFramebufferAttachmentImageInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkFramebufferAttachmentImageInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.FramebufferAttachmentImageInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkImageCreateFlags, matching the value of VkImageCreateInfo::flags used to create an image that will be used with this framebuffer. /// [FieldOffset(16)] public VkImageCreateFlags Flags; /// /// Usage is a bitmask of VkImageUsageFlags, matching the value of VkImageCreateInfo::usage used to create an image used with this framebuffer. /// [FieldOffset(20)] public VkImageUsageFlags Usage; /// /// Width is the width of the image view used for rendering. /// [FieldOffset(24)] public int Width; /// /// Height is the height of the image view used for rendering. /// [FieldOffset(28)] public int Height; /// /// LayerCount is the number of array layers of the image view used for rendering. /// [FieldOffset(32)] public int LayerCount; /// /// ViewFormatCount is the number of entries in the pViewFormats array, matching the value of VkImageFormatListCreateInfo::viewFormatCount used to create an image used with this framebuffer. /// [FieldOffset(36)] public int ViewFormatCount; /// /// ViewFormats is a pointer to an array of VkFormat values specifying all of the formats which can be used when creating views of the image, matching the value of VkImageFormatListCreateInfo::pViewFormats used to create an image used with this framebuffer. /// [FieldOffset(40)] public VkFormat* ViewFormats; } }