Share via


CD3DX12_RECT構造体

D3D12_RECT構造体の簡単な初期化を可能にするヘルパー構造体。

構文

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;
};

メンバー

CD3DX12_RECT()

CD3DX12_RECTの新しい初期化されていないインスタンスを作成します。

explicit CD3DX12_RECT(const D3D12_RECT& o)

別のD3D12_RECT構造体の内容で初期化された、CD3DX12_RECTの新しいインスタンス 作成します。

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

次のパラメーターを初期化して、CD3DX12_RECTの新しいインスタンスを作成します。

LONG Left

長い上

LONG Right

LONG Bottom

~CD3DX12_RECT()

CD3DX12_RECTのインスタンスを破棄します。

operator const D3D12_RECT&() const

親構造体型の & 参照渡し演算子を定義します。

必要条件

要件
ヘッダー
D3dx12.h

関連項目

D3D12_RECT

D3D12 のヘルパー構造体