CD3D11_BOX::CD3D11_BOX(LONG,LONG,LONG,LONG,LONG,LONG) function (d3d11.h)

Instantiates a new instance of a CD3D11_BOX structure that is initialized with the dimensions of a box.

Syntax

void CD3D11_BOX(
  LONG Left,
  LONG Top,
  LONG Front,
  LONG Right,
  LONG Bottom,
  LONG Back
);

Parameters

Left

Type: LONG

The x-coordinate of the left hand side of the box.

Top

Type: LONG

The y-coordinate of the top of the box.

Front

Type: LONG

The z-coordinate of the front of the box.

Right

Type: LONG

The x-coordinate of the right hand side of the box.

Bottom

Type: LONG

The y-coordinate of the bottom of the box.

Back

Type: LONG

The y-coordinate of the back of the box.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See also

CD3D11_BOX