namespace Brutal.VulkanApi { /// /// VkClearAttachment - Structure specifying a clear attachment /// /// /// /// The VkClearAttachment structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkClearAttachment { /// VkImageAspectFlags aspectMask; /// uint32_t colorAttachment; /// VkClearValue clearValue; /// } VkClearAttachment; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public partial struct VkClearAttachment() { /// /// AspectMask is a mask selecting the color, depth and/or stencil aspects of the attachment to be cleared. /// [FieldOffset(0)] public VkImageAspectFlags AspectMask; /// /// ColorAttachment is only meaningful if VK_IMAGE_ASPECT_COLOR_BIT is set in aspectMask, in which case it is an index into the bound color attachments. /// [FieldOffset(4)] public int ColorAttachment; /// /// ClearValue is the color or depth/stencil value to clear the attachment to, as described in Clear Values^ below. /// [FieldOffset(8)] public VkClearValue ClearValue; } }