GlobeEngine
HikingComposition.h
Go to the documentation of this file.
1 
8 #ifndef GlobeEngine_HikingComposition_h
9 #define GlobeEngine_HikingComposition_h
10 
11 #include "Composition.h"
12 #include "DirectionalLight.h"
13 
14 namespace geHikingViewer {
15 
17  {
18  public:
21 
22  void enableUIFbo() {
23  fboUIActive = true;
24  }
25  void disableUIFbo(){
26  fboUIActive = false;
27  }
28  bool isUIFboactive(){
29  return fboUIActive;
30  }
31 
32  void enableGPUFeatures(bool _in);
33  void setGPUBufferPointSize(int _in);
34  void setGPUFeatureBufferHandle(GLuint _handle);
35 
36  protected:
37  void drawFrame(std::shared_ptr<ge::Camera> _cam);
38 
39  private:
40  bool fboUIActive;
41 
42  ge::DirectionalLight directionalLight;
43 
44  // GPU feature buffer handle
45  bool gpufeatureEnabled;
46  int pointSize;
47  GLuint gpuBufferHandle;
48 
49  };
50 }
51 #endif
bool isUIFboactive()
Definition: HikingComposition.h:28
Definition: HikingComposition.h:14
void enableUIFbo()
Definition: HikingComposition.h:22
Definition: DirectionalLight.h:17
Definition: HikingComposition.h:16
HikingComposition()
Definition: HikingComposition.cpp:8
void setGPUFeatureBufferHandle(GLuint _handle)
Definition: HikingComposition.cpp:61
Definition: Composition.h:23
~HikingComposition()
Definition: HikingComposition.cpp:24
void enableGPUFeatures(bool _in)
Definition: HikingComposition.cpp:57
void setGPUBufferPointSize(int _in)
Definition: HikingComposition.cpp:65
void drawFrame(std::shared_ptr< ge::Camera > _cam)
Definition: HikingComposition.cpp:31
void disableUIFbo()
Definition: HikingComposition.h:25