[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.ResourceRegion.-ctor

ResourceRegion Constructor

ResourceRegion(int, int, int, int, int, int)

Initialize a new instance of ResourceRegion struct.

Declaration
public ResourceRegion(int left, int top, int front, int right, int bottom, int back)
Parameters
Type Name Description
int left

Left coordinates (inclusive)

int top

Top coordinates (inclusive)

int front

Front coordinates (inclusive)

int right

Right coordinates (exclusive)

int bottom

Bottom coordinates (exclusive)

int back

Back coordinates (exclusive)

Remarks
  • For a Width of 1 pixels, (right - left) = 1. If left = 0, right = Width.
  • For a Height of 1 pixels, (bottom - top) = 1. If top = 0, bottom = Height.
  • For a Depth of 1 pixels, (back - front) = 1. If front = 0, back = Depth.