namespace Brutal.VulkanApi { /// /// VkAttachmentReference - Structure specifying an attachment reference /// /// /// /// :refpage: VkAttachmentReference /// /// /// The VkAttachmentReference structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkAttachmentReference { /// uint32_t attachment; /// VkImageLayout layout; /// } VkAttachmentReference; /// /// [StructLayout(LayoutKind.Explicit, Size = 8)] public partial struct VkAttachmentReference() { /// /// Attachment is either an integer value identifying an attachment at the corresponding index in VkRenderPassCreateInfo::pAttachments, or VK_ATTACHMENT_UNUSED to signify that this attachment is not used. /// [FieldOffset(0)] public int Attachment; /// /// Layout is a VkImageLayout value specifying the layout the attachment uses during the subpass. /// [FieldOffset(4)] public VkImageLayout Layout; } }