Diligent::Rect struct

Describes the rectangle.

This structure is used by IDeviceContext::SetScissorRects().

Constructors, destructors, conversion operators

Rect(Int32 _left, Int32 _top, Int32 _right, Int32 _bottom) noexcept
Initializes the structure.

Public variables

Int32 left
X coordinate of the left boundary of the viewport.
Int32 top
Y coordinate of the top boundary of the viewport.
Int32 right
X coordinate of the right boundary of the viewport.
Int32 bottom
Y coordinate of the bottom boundary of the viewport.