Example #1
0
 public PresentRegionKHR
 (
     uint rectangleCount       = default,
     RectLayerKHR *pRectangles = default
 )
 {
     RectangleCount = rectangleCount;
     PRectangles    = pRectangles;
 }
Example #2
0
        public PresentRegionKHR
        (
            uint?rectangleCount       = null,
            RectLayerKHR *pRectangles = null
        ) : this()
        {
            if (rectangleCount is not null)
            {
                RectangleCount = rectangleCount.Value;
            }

            if (pRectangles is not null)
            {
                PRectangles = pRectangles;
            }
        }