GteLight.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 
10 #include <Graphics/GteViewVolume.h>
11 #include <Graphics/GteLighting.h>
12 #include <memory>
13 
14 namespace gte
15 {
16 
17 class GTE_IMPEXP Light : public ViewVolume
18 {
19 public:
20  // Construction. The depth range for DirectX is [0,1] and for OpenGL is
21  // [-1,1]. For DirectX, set isDepthRangeZeroToOne to true. For OpenGL,
22  // set isDepthRangeZeroOne to false.
23  Light(bool isPerspective, bool isDepthRangeZeroOne);
24 
25  std::shared_ptr<Lighting> lighting;
26 };
27 
28 }
#define GTE_IMPEXP
Definition: GTEngineDEF.h:63
std::shared_ptr< Lighting > lighting
Definition: GteLight.h:25


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