GteRasterizerState.h
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 #pragma once
9 
11 
12 namespace gte
13 {
14 
16 {
17 public:
18  enum GTE_IMPEXP FillMode
19  {
21  FILL_WIREFRAME
22  };
23 
24  enum GTE_IMPEXP CullMode
25  {
27  CULL_FRONT,
28  CULL_BACK
29  };
30 
31  // Construction.
32  RasterizerState();
33 
34  // Member access. The members are intended to be write-once before
35  // you create an associated graphics state.
36  FillMode fillMode; // default: FILL_SOLID
37  CullMode cullMode; // default: CULL_BACK
38  bool frontCCW; // default: true
39  int depthBias; // default: 0
40  float depthBiasClamp; // default: 0
41  float slopeScaledDepthBias; // default: 0
42  bool enableDepthClip; // default: true
43  bool enableScissor; // default: false
44  bool enableMultisample; // default: false
45  bool enableAntialiasedLine; // default: false
46 };
47 
48 }
FILL_SOLID
CULL_FRONT
#define GTE_IMPEXP
Definition: GTEngineDEF.h:63


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:01