namespace Brutal.VulkanApi { /// /// VkRenderingAreaInfo - Structure describing rendering area granularity query info /// /// /// /// The VkRenderingAreaInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_4 /// typedef struct VkRenderingAreaInfo { /// VkStructureType sType; /// const void* pNext; /// uint32_t viewMask; /// uint32_t colorAttachmentCount; /// const VkFormat* pColorAttachmentFormats; /// VkFormat depthAttachmentFormat; /// VkFormat stencilAttachmentFormat; /// } VkRenderingAreaInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkRenderingAreaInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.RenderingAreaInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// ViewMask is the viewMask used for rendering. /// [FieldOffset(16)] public int ViewMask; /// /// ColorAttachmentCount is the number of entries in pColorAttachmentFormats /// [FieldOffset(20)] public int ColorAttachmentCount; /// /// ColorAttachmentFormats is a pointer to an array of VkFormat values defining the format of color attachments used in the render pass instance. /// [FieldOffset(24)] public VkFormat* ColorAttachmentFormats; /// /// DepthAttachmentFormat is a VkFormat value defining the format of the depth attachment used in the render pass instance. /// [FieldOffset(32)] public VkFormat DepthAttachmentFormat; /// /// StencilAttachmentFormat is a VkFormat value defining the format of the stencil attachment used in the render pass instance. /// [FieldOffset(36)] public VkFormat StencilAttachmentFormat; } }