namespace Brutal.VulkanApi { /// /// VkRenderPassCreateInfo - Structure specifying parameters of a newly created render pass /// /// /// /// The VkRenderPassCreateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkRenderPassCreateInfo { /// VkStructureType sType; /// const void* pNext; /// VkRenderPassCreateFlags flags; /// uint32_t attachmentCount; /// const VkAttachmentDescription* pAttachments; /// uint32_t subpassCount; /// const VkSubpassDescription* pSubpasses; /// uint32_t dependencyCount; /// const VkSubpassDependency* pDependencies; /// } VkRenderPassCreateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkRenderPassCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.RenderPassCreateInfo; /// /// 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 VkAttachmentDescription structures describing the attachments used by the render pass. /// [FieldOffset(24)] public VkAttachmentDescription* Attachments; /// /// SubpassCount is the number of subpasses to create. /// [FieldOffset(32)] public int SubpassCount; /// /// Subpasses is a pointer to an array of subpassCount VkSubpassDescription structures describing each subpass. /// [FieldOffset(40)] public VkSubpassDescription* Subpasses; /// /// DependencyCount is the number of memory dependencies between pairs of subpasses. /// [FieldOffset(48)] public int DependencyCount; /// /// Dependencies is a pointer to an array of dependencyCount VkSubpassDependency structures describing dependencies between pairs of subpasses. /// [FieldOffset(56)] public VkSubpassDependency* Dependencies; } }