CD3DX12_RECT structure

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

Syntax

struct CD3DX12_RECT  : public D3D12_RECT{
   CD3DX12_RECT();
   explicit CD3DX12_RECT(const D3D12_RECT& o);
   explicit CD3DX12_RECT(LONG Left, LONG Top, LONG Right, LONG Bottom);
   ~CD3DX12_RECT();
   operator const D3D12_RECT&() const;
};

Members

CD3DX12_RECT()

Creates a new, uninitialized, instance of a CD3DX12_RECT.

explicit CD3DX12_RECT(const D3D12_RECT& o)

Creates a new instance of a CD3DX12_RECT, initialized with the contents of another D3D12_RECT structure.

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

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

LONG Left

LONG Top

LONG Right

LONG Bottom

~CD3DX12_RECT()

Destroys an instance of a CD3DX12_RECT.

operator const D3D12_RECT&() const

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

Requirements

Requirement Value
Header
D3dx12.h

See also

D3D12_RECT

Helper Structures for D3D12