namespace Brutal.VulkanApi { /// /// VkClearRect - Structure specifying a clear rectangle /// /// /// /// The VkClearRect structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkClearRect { /// VkRect2D rect; /// uint32_t baseArrayLayer; /// uint32_t layerCount; /// } VkClearRect; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public partial struct VkClearRect() { /// /// Rect is the two-dimensional region to be cleared. /// [FieldOffset(0)] public VkRect2D Rect; /// /// BaseArrayLayer is the first layer to be cleared. /// [FieldOffset(16)] public int BaseArrayLayer; /// /// LayerCount is the number of layers to clear. /// [FieldOffset(20)] public int LayerCount; } }