namespace Brutal.VulkanApi { /// /// VkCommandBufferInheritanceRenderingInfo - Structure specifying command buffer inheritance info for dynamic render pass instances /// /// /// /// The VkCommandBufferInheritanceRenderingInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_3 /// typedef struct VkCommandBufferInheritanceRenderingInfo { /// VkStructureType sType; /// const void* pNext; /// VkRenderingFlags flags; /// uint32_t viewMask; /// uint32_t colorAttachmentCount; /// const VkFormat* pColorAttachmentFormats; /// VkFormat depthAttachmentFormat; /// VkFormat stencilAttachmentFormat; /// VkSampleCountFlagBits rasterizationSamples; /// } VkCommandBufferInheritanceRenderingInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 56)] public unsafe partial struct VkCommandBufferInheritanceRenderingInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.CommandBufferInheritanceRenderingInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkRenderingFlags used by the render pass instance. /// [FieldOffset(16)] public VkRenderingFlags Flags; /// /// ViewMask is the view mask used for rendering. /// [FieldOffset(20)] public int ViewMask; /// /// ColorAttachmentCount is the number of color attachments specified in the render pass instance. /// [FieldOffset(24)] public int ColorAttachmentCount; /// /// ColorAttachmentFormats is a pointer to an array of VkFormat values defining the format of color attachments. /// [FieldOffset(32)] public VkFormat* ColorAttachmentFormats; /// /// DepthAttachmentFormat is a VkFormat value defining the format of the depth attachment. /// [FieldOffset(40)] public VkFormat DepthAttachmentFormat; /// /// StencilAttachmentFormat is a VkFormat value defining the format of the stencil attachment. /// [FieldOffset(44)] public VkFormat StencilAttachmentFormat; /// /// RasterizationSamples is a VkSampleCountFlags specifying the number of samples used in rasterization. /// [FieldOffset(48)] public VkSampleCountFlags RasterizationSamples; } }