namespace Brutal.VulkanApi { /// /// VkRectLayerKHR - Structure containing a rectangle, including layer, changed by vkQueuePresentKHR for a given VkImage /// /// /// /// The VkRectLayerKHR structure is defined as: /// /// /// // Provided by VK_KHR_incremental_present /// typedef struct VkRectLayerKHR { /// VkOffset2D offset; /// VkExtent2D extent; /// uint32_t layer; /// } VkRectLayerKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 20)] public partial struct VkRectLayerKHR() { /// /// Offset is the origin of the rectangle, in pixels. /// [FieldOffset(0)] public VkOffset2D Offset; /// /// Extent is the size of the rectangle, in pixels. /// [FieldOffset(8)] public VkExtent2D Extent; /// /// Layer is the layer of the image. For images with only one layer, the value of layer must be 0. /// [FieldOffset(16)] public int Layer; } }