namespace Brutal.VulkanApi { /// /// VkRenderingInfo - Structure specifying render pass instance begin info /// /// /// /// The VkRenderingInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_3 /// typedef struct VkRenderingInfo { /// VkStructureType sType; /// const void* pNext; /// VkRenderingFlags flags; /// VkRect2D renderArea; /// uint32_t layerCount; /// uint32_t viewMask; /// uint32_t colorAttachmentCount; /// const VkRenderingAttachmentInfo* pColorAttachments; /// const VkRenderingAttachmentInfo* pDepthAttachment; /// const VkRenderingAttachmentInfo* pStencilAttachment; /// } VkRenderingInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 72)] public unsafe partial struct VkRenderingInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.RenderingInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkRenderingFlags. /// [FieldOffset(16)] public VkRenderingFlags Flags; /// /// RenderArea is the render area that is affected by the render pass instance. /// [FieldOffset(20)] public VkRect2D RenderArea; /// /// LayerCount is the number of layers rendered to in each attachment when viewMask is `0`. /// [FieldOffset(36)] public int LayerCount; /// /// ViewMask is a bitfield of view indices describing which views are active during rendering, when it is not `0`. /// [FieldOffset(40)] public int ViewMask; /// /// ColorAttachmentCount is the number of elements in pColorAttachments. /// [FieldOffset(44)] public int ColorAttachmentCount; /// /// ColorAttachments is a pointer to an array of colorAttachmentCount VkRenderingAttachmentInfo structures describing any color attachments used. /// [FieldOffset(48)] public VkRenderingAttachmentInfo* ColorAttachments; /// /// DepthAttachment is a pointer to a VkRenderingAttachmentInfo structure describing a depth attachment. /// [FieldOffset(56)] public VkRenderingAttachmentInfo* DepthAttachment; /// /// StencilAttachment is a pointer to a VkRenderingAttachmentInfo structure describing a stencil attachment. /// [FieldOffset(64)] public VkRenderingAttachmentInfo* StencilAttachment; } }