namespace Brutal.VulkanApi { /// /// VkFramebufferCreateInfo - Structure specifying parameters of a newly created framebuffer /// /// /// /// The VkFramebufferCreateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkFramebufferCreateInfo { /// VkStructureType sType; /// const void* pNext; /// VkFramebufferCreateFlags flags; /// VkRenderPass renderPass; /// uint32_t attachmentCount; /// const VkImageView* pAttachments; /// uint32_t width; /// uint32_t height; /// uint32_t layers; /// } VkFramebufferCreateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkFramebufferCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.FramebufferCreateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkFramebufferCreateFlags /// [FieldOffset(16)] public VkFramebufferCreateFlags Flags; /// /// RenderPass is a render pass defining what render passes the framebuffer will be compatible with. See Render Pass Compatibility^ for details. The implementation must not access this object outside of the duration of the command this structure is passed to. /// [FieldOffset(24)] public VkRenderPass RenderPass; /// /// AttachmentCount is the number of attachments. /// [FieldOffset(32)] public int AttachmentCount; /// /// Attachments is a pointer to an array of VkImageView handles, each of which will be used as the corresponding attachment in a render pass instance. /// [FieldOffset(40)] public VkImageView* Attachments; /// /// Width /// [FieldOffset(48)] public int Width; /// /// Height /// [FieldOffset(52)] public int Height; /// /// Layers /// [FieldOffset(56)] public int Layers; } }