Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

D3D12_BOX structure (d3d12.h)

Describes a 3D box.

Syntax

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

Members

left

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

top

The y position of the top of the box.

front

The z position of the front of the box.

right

The x position of the right hand side of the box, plus 1. This means that right - left equals the width of the box.

bottom

The y position of the bottom of the box, plus 1. This means that bottom - top equals the height of the box.

back

The z position of the back of the box, plus 1. This means that back - front equals the depth of the box.

Remarks

This structure is used by the methods WriteToSubresource, ReadFromSubresource and CopyTextureRegion.

Requirements

Requirement Value
Header d3d12.h

See also

CD3DX12_BOX

Core Structures


Feedback

Was this page helpful?

Additional resources