[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.ResourceRegion

Struct ResourceRegion

Namespace
GrapeCity.Documents.DX.Direct3D11
Assembly
GcDocs.DX.Windows.dll

D3D11_BOX

public struct ResourceRegion
Inherited Members
System.ValueType.Equals(object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()

Constructors

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

Initialize a new instance of ResourceRegion struct.

public ResourceRegion(int left, int top, int front, int right, int bottom, int back)

Parameters

left int

Left coordinates (inclusive)

top int

Top coordinates (inclusive)

front int

Front coordinates (inclusive)

right int

Right coordinates (exclusive)

bottom int

Bottom coordinates (exclusive)

back int

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.

Fields

Back

unsigned int back

public int Back

Field Value

int

Bottom

unsigned int bottom

public int Bottom

Field Value

int

Front

unsigned int front

public int Front

Field Value

int

Left

unsigned int left

public int Left

Field Value

int

Right

unsigned int right

public int Right

Field Value

int

Top

unsigned int top

public int Top

Field Value

int