GlobeEngine
geTextureExample::TextureExampleEngine Class Reference

#include <TextureExampleEngine.h>

Inheritance diagram for geTextureExample::TextureExampleEngine:
ge::Engine

Public Member Functions

 TextureExampleEngine ()
 
 ~TextureExampleEngine ()
 
void clear ()
 
void destroy ()
 
void create ()
 
void initializeScene (std::string _projectsrcPath=0)
 
void drawScene ()
 
void resize (int _w, int _h)
 
void update ()
 
void updateFramebufferStandardID ()
 
void setDebugMapsEnabled (bool _in)
 
std::shared_ptr< ge::CubegetCube ()
 
std::shared_ptr< ge::PlanegetPlane ()
 
- Public Member Functions inherited from ge::Engine
 Engine ()
 
 ~Engine ()
 
void draw ()
 
void initExtension ()
 
void setProgrammState (enum PROGRAMMSTATE state)
 
enum PROGRAMMSTATE getProgrammState ()
 
void setDebugState (enum DEBUGSTATE state)
 
enum DEBUGSTATE getDebugState ()
 
void enablePicking (bool _in)
 
bool isPickingEnabled ()
 
void enableWireframe (bool _in)
 
bool isWireframeEnabled ()
 
void enableAnimationLoop (bool _in)
 
bool isAnimationLoopEnabled ()
 
void setUIFramebufferID (unsigned int _id)
 
const std::shared_ptr< TextureHandle > & getUIFramebufferHandle ()
 
bool isUIFramebufferActive ()
 
void enableUIFramebuffer (bool _in=true)
 
void disableUIFramebuffer ()
 
int getCameraCount ()
 
std::shared_ptr< ge::CameragetCamera (int _index)
 
std::shared_ptr< ge::CameragetSelectedCam ()
 
int getSelectedCamID () const
 
void setSelectedCamID (int _id)
 
float getDevicePixelRatio ()
 
void setDevicePixelRatio (float _in)
 
double getElapsedTimeForLastFrame ()
 
void getOpenGLError (std::string const &_input)
 
void getOpenGLError (char const *_input)
 

Additional Inherited Members

- Public Types inherited from ge::Engine
enum  eTEXTURE_UNITS {
  eUNIT0, eUNIT1, eUNIT2, eUNIT3,
  eUNIT4, eUNIT5, eUNIT6, eUNIT7
}
 
enum  PICKINGSTATE { IDLE =0, PICKEVENT, PICKED }
 
enum  DEBUGSTATE { NOTACTIVE, ACTIVE }
 
enum  PROGRAMMSTATE { NOTLOADED, LOADED, RUNNING }
 
- Protected Member Functions inherited from ge::Engine
void printLineRenderingInfo ()
 
void printTextureInfo ()
 
void printFramebufferInfo ()
 
void printBufferInformation ()
 
- Protected Attributes inherited from ge::Engine
std::vector< std::shared_ptr< ge::Camera > > cameras
 
int selectedCameraID
 
enum PROGRAMMSTATE programstate
 Tells you the state of the application. More...
 
enum DEBUGSTATE debugstate
 Tells you if the application is running with debug output. More...
 
enum PICKINGSTATE pickingState
 Tells you if there is a picking event or result ongoing. More...
 
bool pickingEnabled
 
bool animationsEnabled
 

Constructor & Destructor Documentation

geTextureExample::TextureExampleEngine::TextureExampleEngine ( )
geTextureExample::TextureExampleEngine::~TextureExampleEngine ( )

Member Function Documentation

void geTextureExample::TextureExampleEngine::clear ( )
virtual

Reimplemented from ge::Engine.

void geTextureExample::TextureExampleEngine::create ( )
virtual

Reimplemented from ge::Engine.

void geTextureExample::TextureExampleEngine::destroy ( )
void geTextureExample::TextureExampleEngine::drawScene ( )
virtual

Implements ge::Engine.

std::shared_ptr< ge::Cube > geTextureExample::TextureExampleEngine::getCube ( )
std::shared_ptr< ge::Plane > geTextureExample::TextureExampleEngine::getPlane ( )
void geTextureExample::TextureExampleEngine::initializeScene ( std::string  _projectsrcPath = 0)
virtual

Implements ge::Engine.

void geTextureExample::TextureExampleEngine::resize ( int  _w,
int  _h 
)
virtual

Implements ge::Engine.

void geTextureExample::TextureExampleEngine::setDebugMapsEnabled ( bool  _in)
void geTextureExample::TextureExampleEngine::update ( )
virtual

Implements ge::Engine.

void geTextureExample::TextureExampleEngine::updateFramebufferStandardID ( )

The documentation for this class was generated from the following files: