CD3DX12_DEPTH_STENCIL_DESC 구조체
D3D12_DEPTH_STENCIL_DESC 구조체를 쉽게 초기화할 수 있도록 하는 도우미 구조체입니다.
구문
struct CD3DX12_DEPTH_STENCIL_DESC : public D3D12_DEPTH_STENCIL_DESC{
CD3DX12_DEPTH_STENCIL_DESC();
explicit CD3DX12_DEPTH_STENCIL_DESC(const D3D12_DEPTH_STENCIL_DESC& o);
explicit CD3DX12_DEPTH_STENCIL_DESC(CD3DX12_DEFAULT);
explicit CD3DX12_DEPTH_STENCIL_DESC(BOOL depthEnable, D3D12_DEPTH_WRITE_MASK depthWriteMask, D3D12_COMPARISON_FUNC depthFunc, BOOL stencilEnable, UINT8 stencilReadMask, UINT8 stencilWriteMask, D3D12_STENCIL_OP frontStencilFailOp, D3D12_STENCIL_OP frontStencilDepthFailOp, D3D12_STENCIL_OP frontStencilPassOp, D3D12_COMPARISON_FUNC frontStencilFunc, D3D12_STENCIL_OP backStencilFailOp, D3D12_STENCIL_OP backStencilDepthFailOp, D3D12_STENCIL_OP backStencilPassOp, D3D12_COMPARISON_FUNC backStencilFunc);
~CD3DX12_DEPTH_STENCIL_DESC();
operator const D3D12_DEPTH_STENCIL_DESC&() const;
};
멤버
-
CD3DX12_DEPTH_STENCIL_DESC()
-
D3DX12_DEPTH_STENCIL_DESC 초기화되지 않은 새 인스턴스를 만듭니다.
-
explicit CD3DX12_DEPTH_STENCIL_DESC(const D3D12_DEPTH_STENCIL_DESC& o)
-
다른 D3D12_DEPTH_STENCIL_DESC 구조체의 내용으로 초기화된 D3DX12_DEPTH_STENCIL_DESC 새 인스턴스를 만듭니다.
-
명시적 CD3DX12_DEPTH_STENCIL_DESC(CD3DX12_DEFAULT)
-
기본 매개 변수를 사용하여 초기화된 D3DX12_DEPTH_STENCIL_DESC 새 인스턴스를 만듭니다.
DepthEnable = TRUE; DepthWriteMask = D3D12_DEPTH_WRITE_MASK_ALL; DepthFunc = D3D12_COMPARISON_FUNC_LESS; StencilEnable = FALSE; StencilReadMask = D3D12_DEFAULT_STENCIL_READ_MASK; StencilWriteMask = D3D12_DEFAULT_STENCIL_WRITE_MASK; const D3D12_DEPTH_STENCILOP_DESC defaultStencilOp = { D3D12_STENCIL_OP_KEEP, D3D12_STENCIL_OP_KEEP, D3D12_STENCIL_OP_KEEP, D3D12_COMPARISON_FUNC_ALWAYS }; FrontFace = defaultStencilOp; BackFace = defaultStencilOp;
-
explicit CD3DX12_DEPTH_STENCIL_DESC(BOOL depthEnable, D3D12_DEPTH_WRITE_MASK depthWriteMask, D3D12_COMPARISON_FUNC depthFunc, BOOL stencilEnable, UINT8 stencilReadMask, UINT8 stencilWriteMask, D3D12_STENCIL_OP frontStencilFailOp, D3D12_STENCIL_OP frontStencilDepthFailOp, D3D12_STENCIL_OP frontStencilPassOp, D3D12_COMPARISON_FUNC frontStencilFunc, D3D12_STENCIL_OP backStencilFailOp, D3D12_STENCIL_OP backStencilDepthFailOp, D3D12_STENCIL_OP backStencilPassOp, D3D12_ COMPARISON_FUNC backStencilFunc)
-
다음 매개 변수를 초기화하여 D3DX12_DEPTH_STENCIL_DESC 새 인스턴스를 만듭니다.
BOOL depthEnable
D3D12_DEPTH_WRITE_MASK depthWriteMask
D3D12_COMPARISON_FUNC depthFunc
BOOL 스텐실Enable
UINT8 stencilReadMask
UINT8 stencilWriteMask
D3D12_STENCIL_OP frontStencilFailOp
D3D12_STENCIL_OP frontStencilDepthFailOp
D3D12_STENCIL_OP frontStencilPassOp
D3D12_COMPARISON_FUNC frontStencilFunc
D3D12_STENCIL_OP backStencilFailOp
D3D12_STENCIL_OP backStencilDepthFailOp
-
~CD3DX12_DEPTH_STENCIL_DESC()
-
CD3DX12_DEPTH_STENCIL_DESC 인스턴스를 삭제합니다.
-
operator const D3D12_DEPTH_STENCIL_DESC&() const
-
부모 구조체 형식에 대한 & pass-by-reference 연산자를 정의합니다.
요구 사항
요구 사항 | 값 |
---|---|
헤더 |
|