diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-02-09 06:27:30 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-02-09 06:27:30 +0000 |
| commit | 1989ef1eed6974407573d403a612657c041b9f93 (patch) | |
| tree | 9c560d8324365fb504572c4457a1b97ac7b402ac /Graphics/GraphicsEngine | |
| parent | Fixed few debug checks (diff) | |
| download | DiligentCore-1989ef1eed6974407573d403a612657c041b9f93.tar.gz DiligentCore-1989ef1eed6974407573d403a612657c041b9f93.zip | |
Updated constructor of DepthStencilStateDesc
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/DepthStencilState.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Graphics/GraphicsEngine/interface/DepthStencilState.h b/Graphics/GraphicsEngine/interface/DepthStencilState.h index d42da3fd..2a851a44 100644 --- a/Graphics/GraphicsEngine/interface/DepthStencilState.h +++ b/Graphics/GraphicsEngine/interface/DepthStencilState.h @@ -188,13 +188,17 @@ struct DepthStencilStateDesc COMPARISON_FUNCTION _DepthFunc = DepthStencilStateDesc{}.DepthFunc, Bool _StencilEnable = DepthStencilStateDesc{}.StencilEnable, Uint8 _StencilReadMask = DepthStencilStateDesc{}.StencilReadMask, - Uint8 _StencilWriteMask = DepthStencilStateDesc{}.StencilWriteMask)noexcept : - DepthEnable ( _DepthEnable ), - DepthWriteEnable( _DepthWriteEnable ), - DepthFunc ( _DepthFunc ), - StencilEnable ( _StencilEnable ), - StencilReadMask ( _StencilReadMask ), - StencilWriteMask( _StencilWriteMask ) + Uint8 _StencilWriteMask = DepthStencilStateDesc{}.StencilWriteMask, + StencilOpDesc _FrontFace = StencilOpDesc{}, + StencilOpDesc _BackFace = StencilOpDesc{})noexcept : + DepthEnable (_DepthEnable), + DepthWriteEnable(_DepthWriteEnable), + DepthFunc (_DepthFunc), + StencilEnable (_StencilEnable), + StencilReadMask (_StencilReadMask), + StencilWriteMask(_StencilWriteMask), + FrontFace (_FrontFace), + BackFace (_BackFace) {} /// Tests if two structures are equivalent |
