Struct Rect
public struct Rect
- Inherited Members
Fields
Bottom
public uint Bottom
Field Value
Empty
public static readonly Rect Empty
Field Value
Left
public uint Left
Field Value
Right
public uint Right
Field Value
Top
public uint Top
Field Value
Properties
IsEmpty
public bool IsEmpty { get; }
Property Value
Methods
AlignOutward(Rect, int)
Returns a new rectangle expanded outward and aligned to a SIMD boundary. This is used for conservative region initialization where vectorization is preferred.
public static Rect AlignOutward(Rect rect, int simdWidth)
Parameters
Returns
IntersectWith(in Rect)
public void IntersectWith(in Rect other)
Parameters
otherRect
UnionWith(in Rect)
public void UnionWith(in Rect other)
Parameters
otherRect