namespace Brutal.VulkanApi { /// /// VkRect2D - Structure specifying a two-dimensional subregion /// /// /// /// Rectangles are used to describe a specified rectangular region of pixels /// within an image or framebuffer. /// Rectangles include both an offset and an extent of the same dimensionality, /// as described above. /// Two-dimensional rectangles are defined by the structure /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkRect2D { /// VkOffset2D offset; /// VkExtent2D extent; /// } VkRect2D; /// /// [StructLayout(LayoutKind.Explicit, Size = 16)] public partial struct VkRect2D() { /// /// Offset is a VkOffset2D specifying the rectangle offset. /// [FieldOffset(0)] public VkOffset2D Offset; /// /// Extent is a VkExtent2D specifying the rectangle extent. /// [FieldOffset(8)] public VkExtent2D Extent; } }