CD3DX12_BOX structure

A helper structure to enable easy initialization of a D3D12_BOX structure.

Syntax

struct CD3DX12_BOX  : public D3D12_BOX{
   CD3DX12_BOX();
   explicit CD3DX12_BOX(const D3D12_BOX& o);
   explicit CD3DX12_BOX(LONG Left, LONG Right);
   explicit CD3DX12_BOX(LONG Left, LONG Top, LONG Right, LONG Bottom);
   explicit CD3DX12_BOX(LONG Left, LONG Top, LONG Front, LONG Right, LONG Bottom, LONG Back);
   ~CD3DX12_BOX();
   operator const D3D12_BOX&() const;
};

Members

CD3DX12_BOX()

Creates a new, uninitialized, instance of a CD3DX12_BOX.

explicit CD3DX12_BOX(const D3D12_BOX& o)

Creates a new instance of a CD3DX12_BOX, initialized with the contents of another D3D12_BOX structure.

explicit CD3DX12_BOX(LONG Left, LONG Right)

Creates a new instance of a CD3DX12_BOX, initializing the following parameters:

LONG Left

LONG Right

explicit CD3DX12_BOX(LONG Left, LONG Top, LONG Right, LONG Bottom)

Creates a new instance of a CD3DX12_BOX, initializing the following parameters:

LONG Left

LONG Top

LONG Right

LONG Bottom

explicit CD3DX12_BOX(LONG Left, LONG Top, LONG Front, LONG Right, LONG Bottom, LONG Back)

Creates a new instance of a CD3DX12_BOX, initializing the following parameters:

LONG Left

LONG Top

LONG Front

LONG Right

LONG Bottom

LONG Back

~CD3DX12_BOX()

Destroys an instance of a CD3DX12_BOX.

operator const D3D12_BOX&() const

Defines the & pass-by-reference operator for the parent structure type.

Requirements

Requirement Value
Header
D3dx12.h

See also

D3D12_BOX

Helper Structures for D3D12