CD3D11_DEPTH_STENCIL_DESC 구조체(d3d11.h)
깊이 스텐실 상태 구조를 나타내며 깊이 스텐실 상태 구조를 만들기 위한 편리한 메서드를 제공합니다.
Syntax
struct CD3D11_DEPTH_STENCIL_DESC : D3D11_DEPTH_STENCIL_DESC {
void CD3D11_DEPTH_STENCIL_DESC();
void CD3D11_DEPTH_STENCIL_DESC(
const D3D11_DEPTH_STENCIL_DESC & o
);
void CD3D11_DEPTH_STENCIL_DESC(
CD3D11_DEFAULT unnamedParam1
);
void CD3D11_DEPTH_STENCIL_DESC(
BOOL depthEnable,
D3D11_DEPTH_WRITE_MASK depthWriteMask,
D3D11_COMPARISON_FUNC depthFunc,
BOOL stencilEnable,
UINT8 stencilReadMask,
UINT8 stencilWriteMask,
D3D11_STENCIL_OP frontStencilFailOp,
D3D11_STENCIL_OP frontStencilDepthFailOp,
D3D11_STENCIL_OP frontStencilPassOp,
D3D11_COMPARISON_FUNC frontStencilFunc,
D3D11_STENCIL_OP backStencilFailOp,
D3D11_STENCIL_OP backStencilDepthFailOp,
D3D11_STENCIL_OP backStencilPassOp,
D3D11_COMPARISON_FUNC backStencilFunc
);
void ~CD3D11_DEPTH_STENCIL_DESC();
};
상속
CD3D11_DEPTH_STENCIL_DESC 구조체는 D3D11_DEPTH_STENCIL_DESC 구현합니다.
멤버
void CD3D11_DEPTH_STENCIL_DESC()
초기화되지 않은 CD3D11_DEPTH_STENCIL_DESC 구조체의 새 instance 인스턴스화합니다.
void CD3D11_DEPTH_STENCIL_DESC( const D3D11_DEPTH_STENCIL_DESC & o)
D3D11_DEPTH_STENCIL_DESC 구조체로 초기화된 CD3D11_DEPTH_STENCIL_DESC 구조체의 새 instance 인스턴스화합니다.
void CD3D11_DEPTH_STENCIL_DESC( CD3D11_DEFAULT unnamedParam1)
기본 깊이 스텐실 상태 값으로 초기화된 CD3D11_DEPTH_STENCIL_DESC 구조체의 새 instance 인스턴스화합니다.
void CD3D11_DEPTH_STENCIL_DESC( BOOL depthEnable, D3D11_DEPTH_WRITE_MASK depthWriteMask, D3D11_COMPARISON_FUNC depthFunc, BOOL stencilEnable, UINT8 stencilReadMask, UINT8 stencilWriteMask, D3D11_STENCIL_OP frontStencilFailOp, D3D11_STENCIL_OP frontStencilDepthFailOp, D3D11_STENCIL_OP frontStencilPassOp, D3D11_COMPARISON_FUNC frontStencilFunc, D3D11_STENCIL_OP backStencilFailOp, D3D11_STENCIL_OP backStencilDepthFailOp, D3D11_STENCIL_OP backStencilPassOp, D3D11_COMPARISON_FUNC backStencilFunc)
void ~CD3D11_DEPTH_STENCIL_DESC()
CD3D11_DEPTH_STENCIL_DESC 구조체의 instance 제거합니다.
설명
D3D11.h에서 CD3D11_DEPTH_STENCIL_DESC 정의하는 방법은 다음과 같습니다.
struct CD3D11_DEPTH_STENCIL_DESC : public D3D11_DEPTH_STENCIL_DESC { CD3D11_DEPTH_STENCIL_DESC() {} explicit CD3D11_DEPTH_STENCIL_DESC( const D3D11_DEPTH_STENCIL_DESC& o ) : D3D11_DEPTH_STENCIL_DESC( o ) {} explicit CD3D11_DEPTH_STENCIL_DESC( CD3D11_DEFAULT ) { DepthEnable = TRUE; DepthWriteMask = D3D11_DEPTH_WRITE_MASK_ALL; DepthFunc = D3D11_COMPARISON_LESS; StencilEnable = FALSE; StencilReadMask = D3D11_DEFAULT_STENCIL_READ_MASK; StencilWriteMask = D3D11_DEFAULT_STENCIL_WRITE_MASK; const D3D11_DEPTH_STENCILOP_DESC defaultStencilOp = { D3D11_STENCIL_OP_KEEP, D3D11_STENCIL_OP_KEEP, D3D11_STENCIL_OP_KEEP, D3D11_COMPARISON_ALWAYS }; FrontFace = defaultStencilOp; BackFace = defaultStencilOp; } explicit CD3D11_DEPTH_STENCIL_DESC( BOOL depthEnable, D3D11_DEPTH_WRITE_MASK depthWriteMask, D3D11_COMPARISON_FUNC depthFunc, BOOL stencilEnable, UINT8 stencilReadMask, UINT8 stencilWriteMask, D3D11_STENCIL_OP frontStencilFailOp, D3D11_STENCIL_OP frontStencilDepthFailOp, D3D11_STENCIL_OP frontStencilPassOp, D3D11_COMPARISON_FUNC frontStencilFunc, D3D11_STENCIL_OP backStencilFailOp, D3D11_STENCIL_OP backStencilDepthFailOp, D3D11_STENCIL_OP backStencilPassOp, D3D11_COMPARISON_FUNC backStencilFunc ) { DepthEnable = depthEnable; DepthWriteMask = depthWriteMask; DepthFunc = depthFunc; StencilEnable = stencilEnable; StencilReadMask = stencilReadMask; StencilWriteMask = stencilWriteMask; FrontFace.StencilFailOp = frontStencilFailOp; FrontFace.StencilDepthFailOp = frontStencilDepthFailOp; FrontFace.StencilPassOp = frontStencilPassOp; FrontFace.StencilFunc = frontStencilFunc; BackFace.StencilFailOp = backStencilFailOp; BackFace.StencilDepthFailOp = backStencilDepthFailOp; BackFace.StencilPassOp = backStencilPassOp; BackFace.StencilFunc = backStencilFunc; } ~CD3D11_DEPTH_STENCIL_DESC() {} operator const D3D11_DEPTH_STENCIL_DESC&() const { return *this; } }; |
요구 사항
지원되는 최소 클라이언트 | Windows 7 [데스크톱 앱 | UWP 앱] |
지원되는 최소 서버 | Windows Server 2008 R2 [데스크톱 앱 | UWP 앱] |
머리글 | d3d11.h |