namespace Brutal.VulkanApi { /// /// VkCommandBufferInheritanceInfo - Structure specifying command buffer inheritance information /// /// /// /// If the command buffer is a secondary command buffer, then the /// VkCommandBufferInheritanceInfo structure defines any state that will /// be inherited from the primary command buffer: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkCommandBufferInheritanceInfo { /// VkStructureType sType; /// const void* pNext; /// VkRenderPass renderPass; /// uint32_t subpass; /// VkFramebuffer framebuffer; /// VkBool32 occlusionQueryEnable; /// VkQueryControlFlags queryFlags; /// VkQueryPipelineStatisticFlags pipelineStatistics; /// } VkCommandBufferInheritanceInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 56)] public unsafe partial struct VkCommandBufferInheritanceInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.CommandBufferInheritanceInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// RenderPass is a VkRenderPass object defining which render passes the VkCommandBuffer will be compatible^ with and can be executed within. /// [FieldOffset(16)] public VkRenderPass RenderPass; /// /// Subpass is the index of the subpass within the render pass instance that the VkCommandBuffer will be executed within. /// [FieldOffset(24)] public int Subpass; /// /// Framebuffer can refer to the VkFramebuffer object that the VkCommandBuffer will be rendering to if it is executed within a render pass instance. It can be VK_NULL_HANDLE if the framebuffer is not known. + [NOTE] /// [FieldOffset(32)] public VkFramebuffer Framebuffer; /// /// OcclusionQueryEnable /// [FieldOffset(40)] public Brutal.Bool32 OcclusionQueryEnable; /// /// QueryFlags /// [FieldOffset(44)] public VkQueryControlFlags QueryFlags; /// /// PipelineStatistics /// [FieldOffset(48)] public VkQueryPipelineStatisticFlags PipelineStatistics; } }