GteDepthStencilState.cpp
Go to the documentation of this file.
1 // David Eberly, Geometric Tools, Redmond WA 98052
2 // Copyright (c) 1998-2017
3 // Distributed under the Boost Software License, Version 1.0.
4 // http://www.boost.org/LICENSE_1_0.txt
5 // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
6 // File Version: 3.0.0 (2016/06/19)
7 
8 #include <GTEnginePCH.h>
10 using namespace gte;
11 
12 
14  :
15  depthEnable(true),
16  writeMask(MASK_ALL),
17  comparison(LESS_EQUAL),
18  stencilEnable(false),
19  stencilReadMask(0xFF),
20  stencilWriteMask(0xFF),
21  reference(0)
22 {
24 
28  frontFace.comparison = ALWAYS;
32  backFace.comparison = ALWAYS;
33 }
34 
GLint reference
Definition: glext.h:9678
GraphicsObjectType mType
GT_DEPTH_STENCIL_STATE


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:59:59