namespace Brutal.VulkanApi { /// /// VkRenderingAttachmentInfo - Structure specifying attachment information /// /// /// /// The VkRenderingAttachmentInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_3 /// typedef struct VkRenderingAttachmentInfo { /// VkStructureType sType; /// const void* pNext; /// VkImageView imageView; /// VkImageLayout imageLayout; /// VkResolveModeFlagBits resolveMode; /// VkImageView resolveImageView; /// VkImageLayout resolveImageLayout; /// VkAttachmentLoadOp loadOp; /// VkAttachmentStoreOp storeOp; /// VkClearValue clearValue; /// } VkRenderingAttachmentInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 72)] public unsafe partial struct VkRenderingAttachmentInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.RenderingAttachmentInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// ImageView is the image view that will be used for rendering. /// [FieldOffset(16)] public VkImageView ImageView; /// /// ImageLayout is the layout that imageView will be in during rendering. /// [FieldOffset(24)] public VkImageLayout ImageLayout; /// /// ResolveMode is a VkResolveModeFlags value defining how data written to imageView will be resolved into resolveImageView. /// [FieldOffset(28)] public VkResolveModeFlags ResolveMode; /// /// ResolveImageView is an image view used to write resolved data at the end of rendering. /// [FieldOffset(32)] public VkImageView ResolveImageView; /// /// ResolveImageLayout is the layout that resolveImageView will be in during rendering. /// [FieldOffset(40)] public VkImageLayout ResolveImageLayout; /// /// LoadOp is a VkAttachmentLoadOp value defining the load operation^ for the attachment. /// [FieldOffset(44)] public VkAttachmentLoadOp LoadOp; /// /// StoreOp is a VkAttachmentStoreOp value defining the store operation^ for the attachment. /// [FieldOffset(48)] public VkAttachmentStoreOp StoreOp; /// /// ClearValue is a VkClearValue structure defining values used to clear imageView when loadOp is VK_ATTACHMENT_LOAD_OP_CLEAR. /// [FieldOffset(52)] public VkClearValue ClearValue; } }