Crazy Eddie's GUI System
0.8.7
|
28 #ifndef _CEGUIOpenGLRenderer_h_
29 #define _CEGUIOpenGLRenderer_h_
31 #include "RendererBase.h"
80 const int abi = CEGUI_VERSION_ABI);
110 const int abi = CEGUI_VERSION_ABI);
141 const int abi = CEGUI_VERSION_ABI);
159 const int abi = CEGUI_VERSION_ABI);
175 const bool force =
false);
183 void initialiseRendererIDString();
223 void initialiseGLExtensions();
@ TTT_AUTO
Automatically choose the best type available.
Definition: GLRenderer.h:46
static OpenGLRenderer & create(const TextureTargetType tt_type=TTT_AUTO, const int abi=CEGUI_VERSION_ABI)
Create an OpenGLRenderer object.
static void destroySystem()
Convenience function to cleanup the CEGUI system and related objects that were created by calling the...
void initialiseTextureTargetFactory(const TextureTargetType tt_type)
initialise OGLTextureTargetFactory that will generate TextureTargets
Renderer class to interface with desktop OpenGL.
Definition: GLRenderer.h:40
void beginRendering()
Perform any operations required to put the system into a state ready for rendering operations to begi...
@ TTT_FBO
Use targets based on frame buffer objects if available, else none.
Definition: GLRenderer.h:48
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
bool isS3TCSupported() const
OpenGLRenderer(const Sizef &display_size, const TextureTargetType tt_type)
Constructor for OpenGL Renderer objects.
@ TTT_PBUFFER
Use targets based on pbuffer support if available, else none.
Definition: GLRenderer.h:50
OGLTextureTargetFactory * d_textureTargetFactory
pointer to a helper that creates TextureTargets supported by the system.
Definition: GLRenderer.h:226
Definition: GlmPimpl.h:37
static OpenGLRenderer & bootstrapSystem(const TextureTargetType tt_type=TTT_AUTO, const int abi=CEGUI_VERSION_ABI)
Convenience function that creates the required objects to initialise the CEGUI system.
OpenGLGeometryBufferBase * createGeometryBuffer_impl()
Overrides.
OpenGL based implementation of the GeometryBuffer interface.
Definition: GeometryBufferBase.h:53
BlendMode
Enumerated type that contains the valid options that specify the type of blending that is to be perfo...
Definition: Renderer.h:62
void endRendering()
Perform any operations required to finalise rendering.
void setupRenderingBlendMode(const BlendMode mode, const bool force=false)
set the render states for the specified BlendMode.
TextureTarget * createTextureTarget_impl()
return some appropriate TextureTarget subclass instance.
void setViewProjectionMatrix(const mat4Pimpl *viewProjectionMatrix)
Helper to set the view projection matrix.
Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...
Definition: TextureTarget.h:41
static void destroy(OpenGLRenderer &renderer)
Destroy an OpenGLRenderer object.
void cleanupExtraStates()
cleanup the extra GL states enabled via enableExtraStateSettings
void setupExtraStates()
init the extra GL states enabled via enableExtraStateSettings
TextureTargetType
Enumeration of valid texture target types.
Definition: GLRenderer.h:44
static OpenGLRenderer & bootstrapSystem(const Sizef &display_size, const TextureTargetType tt_type=TTT_AUTO, const int abi=CEGUI_VERSION_ABI)
Convenience function that creates the required objects to initialise the CEGUI system.
static OpenGLRenderer & create(const Sizef &display_size, const TextureTargetType tt_type=TTT_AUTO, const int abi=CEGUI_VERSION_ABI)
Create an OpenGLRenderer object.
Common base class used for other OpenGL (desktop or ES) based renderer modules.
Definition: RendererBase.h:54
OpenGLRenderer(const TextureTargetType tt_type)
Constructor for OpenGL Renderer objects.
virtual ~OpenGLRenderer()
Destructor for OpenGLRenderer objects.
Definition: RendererBase.h:311