namespace Brutal.VulkanApi { /// /// VkPipelineRenderingCreateInfo - Structure specifying attachment formats /// /// /// /// The VkPipelineRenderingCreateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_3 /// typedef struct VkPipelineRenderingCreateInfo { /// VkStructureType sType; /// const void* pNext; /// uint32_t viewMask; /// uint32_t colorAttachmentCount; /// const VkFormat* pColorAttachmentFormats; /// VkFormat depthAttachmentFormat; /// VkFormat stencilAttachmentFormat; /// } VkPipelineRenderingCreateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkPipelineRenderingCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PipelineRenderingCreateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// ViewMask is a bitfield of view indices describing which views are active during rendering. It must match VkRenderingInfo::viewMask when 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 this pipeline. /// [FieldOffset(24)] public VkFormat* ColorAttachmentFormats; /// /// DepthAttachmentFormat is a VkFormat value defining the format of the depth attachment used in this pipeline. /// [FieldOffset(32)] public VkFormat DepthAttachmentFormat; /// /// StencilAttachmentFormat is a VkFormat value defining the format of the stencil attachment used in this pipeline. /// [FieldOffset(36)] public VkFormat StencilAttachmentFormat; } }