summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/DepthStencilState.h18
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