27#ifndef _CEGUIOpenGL3Renderer_h_
28#define _CEGUIOpenGL3Renderer_h_
30#include "RendererBase.h"
35 class OpenGL3ShaderManager;
36 class OpenGL3StateChangeWrapper;
228 const bool force =
false);
235 void initialiseRendererIDString();
254 void initialiseOpenGLShaders();
265 void initialiseTextureTargetFactory();
268 void setupExtraStates();
273 GLint d_shaderStandardPosLoc;
275 GLint d_shaderStandardTexCoordLoc;
277 GLint d_shaderStandardColourLoc;
279 GLint d_shaderStandardMatrixLoc;
285 bool d_s3tcSupported;
Definition RendererBase.h:311
Renderer class to interface with desktop OpenGL version >= 3.2 or OpenGL ES version >= 2.
Definition GL3Renderer.h:55
GLint getShaderStandardTexCoordLoc()
Helper to return the attribute location of the texture coordinate variable in the standard shader.
bool isS3TCSupported() const
GLint getShaderStandardColourLoc()
Helper to return the attribute location of the colour variable in the standard shader.
static OpenGL3Renderer & bootstrapSystem(const Sizef &display_size, const int abi=CEGUI_VERSION_ABI)
Convenience function that creates the required objects to initialise the CEGUI system.
GLint getShaderStandardMatrixUniformLoc()
Helper to return the uniform location of the matrix variable in the standard shader.
static OpenGL3Renderer & create(const int abi=CEGUI_VERSION_ABI)
Create an OpenGL3Renderer object.
void beginRendering()
Perform any operations required to put the system into a state ready for rendering operations to begi...
OpenGL3Shader *& getShaderStandard()
Helper to return the reference to the pointer to the standard shader of the Renderer.
virtual ~OpenGL3Renderer()
Destructor for OpenGL3Renderer objects.
static void destroy(OpenGL3Renderer &renderer)
Destroy an OpenGL3Renderer object.
GLint getShaderStandardPositionLoc()
Helper to return the attribute location of the position variable in the standard shader.
static OpenGL3Renderer & create(const Sizef &display_size, const int abi=CEGUI_VERSION_ABI)
Create an OpenGL3Renderer object.
OpenGL3StateChangeWrapper * getOpenGLStateChanger()
Helper to get the wrapper used to check for redundant OpenGL state changes.
void setupRenderingBlendMode(const BlendMode mode, const bool force=false)
set the render states for the specified BlendMode.
Sizef getAdjustedTextureSize(const Sizef &sz) const
Helper to return a valid texture size according to reported OpenGL capabilities.
static void destroySystem()
Convenience function to cleanup the CEGUI system and related objects that were created by calling the...
static OpenGL3Renderer & bootstrapSystem(const int abi=CEGUI_VERSION_ABI)
Convenience function that creates the required objects to initialise the CEGUI system.
void endRendering()
Perform any operations required to finalise rendering.
Definition ShaderManager.h:56
OpenGL3StateChangeWrapper - wraps OpenGL calls and checks for redundant calls beforehand.
Definition StateChangeWrapper.h:49
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
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