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