/// <summary> /// Initializes a new instance of the <see cref="VkRect2D"/> structure. /// </summary> /// <param name="extent">The extent component of the rectangle.</param> public VkRect2D(VkExtent2D extent) { this.offset = default(VkOffset2D); this.extent = extent; }
/// <summary> /// Initializes a new instance of the <see cref="VkRect2D"/> structure. /// </summary> /// <param name="offset">The offset component of the rectangle.</param> /// <param name="extent">The extent component of the rectangle.</param> public VkRect2D(VkOffset2D offset, VkExtent2D extent) { this.offset = offset; this.extent = extent; }