D3D10_BOX structure

Defines a 3D box.

Syntax


typedef struct D3D10_BOX {
  UINT left;
  UINT top;
  UINT front;
  UINT right;
  UINT bottom;
  UINT back;
} D3D10_BOX;

Members

left

Type: UINT

The x position of the left hand side of the box.

top

Type: UINT

The y position of the top of the box.

front

Type: UINT

The z position of the front of the box.

right

Type: UINT

The x position of the right hand side of the box.

bottom

Type: UINT

The y position of the bottom of the box.

back

Type: UINT

The z position of the back of the box.

Remarks

The following diagram shows a 3D box, where the origin is the left, front, top corner.

Diagram of a 3D box, where the origin is the left, front, top corner

Requirements

Header

D3D10.h

See also

Core Structures

 

 

Show: