GlobeEngine
TextureExampleComposition.h
Go to the documentation of this file.
1 
8 #ifndef GlobeEngine_TextureExampleComposition_h
9 #define GlobeEngine_TextureExampleComposition_h
10 
11 #include "Composition.h"
12 #include "PointLight.h"
13 
14 namespace geTextureExample {
15 
17  {
18  public:
21 
22  void enableUIFbo() {
23  this->fboUIActive = true;
24  }
25 
26  void disableUIFbo(){
27  this->fboUIActive = false;
28  }
29 
30  bool isUIFboactive(){
31  return this->fboUIActive;
32  }
33 
34  void setPointLightPosition(vmml::Vector3d _pos){
35  pointLight.setPosition(_pos);
36  }
37 
38  protected:
39  void drawFrame(std::shared_ptr<ge::Camera> _cam);
40 
41  private:
42  bool fboUIActive;
43 
44  // Light
45  ge::PointLight pointLight;
46  };
47 }
48 #endif
Definition: TextureExampleComposition.h:16
TextureExampleComposition()
Definition: TextureExampleComposition.cpp:10
Definition: TextureExampleComposition.h:14
Definition: PointLight.h:18
~TextureExampleComposition()
Definition: TextureExampleComposition.h:20
void disableUIFbo()
Definition: TextureExampleComposition.h:26
void setPosition(vmml::Vector3d _pos)
Definition: Light.cpp:70
bool isUIFboactive()
Definition: TextureExampleComposition.h:30
Definition: Composition.h:23
void enableUIFbo()
Definition: TextureExampleComposition.h:22
void setPointLightPosition(vmml::Vector3d _pos)
Definition: TextureExampleComposition.h:34
void drawFrame(std::shared_ptr< ge::Camera > _cam)
Definition: TextureExampleComposition.cpp:26