Welcome to the new Ogre Wiki!
If you haven't done so already, be sure to visit the Wiki Portal to read about how the wiki works. Especially the Ogre Wiki Overview page.
If you haven't done so already, be sure to visit the Wiki Portal to read about how the wiki works. Especially the Ogre Wiki Overview page.
#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: jacmoe
.
Page last modified on Thursday 13 of May, 2010 14:54:21 UTC by jacmoe
.
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.
Sidebar
Search box
Online users
40
online users

