namespace Brutal.VulkanApi { /// /// VkRenderPassBeginInfo - Structure specifying render pass begin information /// /// /// /// The VkRenderPassBeginInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkRenderPassBeginInfo { /// VkStructureType sType; /// const void* pNext; /// VkRenderPass renderPass; /// VkFramebuffer framebuffer; /// VkRect2D renderArea; /// uint32_t clearValueCount; /// const VkClearValue* pClearValues; /// } VkRenderPassBeginInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkRenderPassBeginInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.RenderPassBeginInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// RenderPass is the render pass to begin an instance of. /// [FieldOffset(16)] public VkRenderPass RenderPass; /// /// Framebuffer is the framebuffer containing the attachments that are used with the render pass. /// [FieldOffset(24)] public VkFramebuffer Framebuffer; /// /// RenderArea is the render area that is affected by the render pass instance, and is described in more detail below. /// [FieldOffset(32)] public VkRect2D RenderArea; /// /// ClearValueCount is the number of elements in pClearValues. /// [FieldOffset(48)] public int ClearValueCount; /// /// ClearValues is a pointer to an array of clearValueCount VkClearValue structures containing clear values for each attachment, if the attachment uses a loadOp value of VK_ATTACHMENT_LOAD_OP_CLEAR or if the attachment has a depth/stencil format and uses a stencilLoadOp value of VK_ATTACHMENT_LOAD_OP_CLEAR. The array is indexed by attachment number. Only elements corresponding to cleared attachments are used. Other elements of pClearValues are ignored. /// [FieldOffset(56)] public VkClearValue* ClearValues; } }