OgreAndroidogrewrapper_h        
Print
#ifndef __ogrewrapper_H__
#define __ogrewrapper_H__
 
#include <Ogre.h>
 
// Initialize the root and load the GLES2 render system
bool initOgreRoot();
 
// Initializes the render window
// Returns null if it fails
Ogre::RenderWindow *initRenderWindow(unsigned int windowHandle, unsigned int width, 
	unsigned int height, unsigned int contextHandle);
 
// Destroy Ogre's core systems
void destroyOgreRoot();
 
// Destroys the previously created RenderWindow 
void destroyRenderWindow();
 
// Returns the render window created
Ogre::RenderWindow *getRenderWindow();
 
// Renders one frame
void renderOneFrame();
 
#endif

Contributors to this page: jacmoe133512 points  .
Page last modified on Thursday 13 of May, 2010 14:54:21 UTC by jacmoe133512 points .


The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.