namespace Brutal.VulkanApi { /// /// VkRenderPassCreateInfo2 - Structure specifying parameters of a newly created render pass /// /// /// /// The VkRenderPassCreateInfo2 structure is defined as: /// /// /// // Provided by VK_VERSION_1_2 /// typedef struct VkRenderPassCreateInfo2 { /// VkStructureType sType; /// const void* pNext; /// VkRenderPassCreateFlags flags; /// uint32_t attachmentCount; /// const VkAttachmentDescription2* pAttachments; /// uint32_t subpassCount; /// const VkSubpassDescription2* pSubpasses; /// uint32_t dependencyCount; /// const VkSubpassDependency2* pDependencies; /// uint32_t correlatedViewMaskCount; /// const uint32_t* pCorrelatedViewMasks; /// } VkRenderPassCreateInfo2; /// /// [StructLayout(LayoutKind.Explicit, Size = 80)] public unsafe partial struct VkRenderPassCreateInfo2() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.RenderPassCreateInfo2; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is reserved for future use. /// [FieldOffset(16)] public VkRenderPassCreateFlags Flags; /// /// AttachmentCount is the number of attachments used by this render pass. /// [FieldOffset(20)] public int AttachmentCount; /// /// Attachments is a pointer to an array of attachmentCount VkAttachmentDescription2 structures describing the attachments used by the render pass. /// [FieldOffset(24)] public VkAttachmentDescription2* Attachments; /// /// SubpassCount is the number of subpasses to create. /// [FieldOffset(32)] public int SubpassCount; /// /// Subpasses is a pointer to an array of subpassCount VkSubpassDescription2 structures describing each subpass. /// [FieldOffset(40)] public VkSubpassDescription2* Subpasses; /// /// DependencyCount is the number of dependencies between pairs of subpasses. /// [FieldOffset(48)] public int DependencyCount; /// /// Dependencies is a pointer to an array of dependencyCount VkSubpassDependency2 structures describing dependencies between pairs of subpasses. /// [FieldOffset(56)] public VkSubpassDependency2* Dependencies; /// /// CorrelatedViewMaskCount is the number of correlation masks. /// [FieldOffset(64)] public int CorrelatedViewMaskCount; /// /// CorrelatedViewMasks is a pointer to an array of view masks indicating sets of views that may: be more efficient to render concurrently. /// [FieldOffset(72)] public int* CorrelatedViewMasks; } }