27#ifndef _CEGUIOpenGLESFBOTextureTarget_h_
28#define _CEGUIOpenGLESFBOTextureTarget_h_
30#include "CEGUI/RendererModules/OpenGLES/RenderTarget.h"
31#include "CEGUI/TextureTarget.h"
32#include "CEGUI/Rect.h"
33#include "CEGUI/RendererModules/OpenGLES/GLES.h"
37# pragma warning(disable : 4250)
OpenGLESFBOTextureTarget - allows rendering to an OpenGLES texture via FBO.
Definition FBOTextureTarget.h:48
bool isImageryCache() const
Return whether the RenderTarget is an implementation that caches actual rendered imagery.
void clear()
Clear the surface of the underlying texture.
void initialiseRenderTexture()
allocate and set up the texture used with the FBO.
bool isRenderingInverted() const
Return whether rendering done on the target texture is inverted in relation to regular textures.
String generateTextureName()
generate a texture name
GLint d_oldFbo
Saving fbo before activation.
Definition FBOTextureTarget.h:79
static const float DEFAULT_SIZE
default size of created texture objects
Definition FBOTextureTarget.h:69
OpenGLESTexture * d_CEGUITexture
we use this to wrap d_texture so it can be used by the core CEGUI lib.
Definition FBOTextureTarget.h:85
static uint s_textureNumber
static member var used to generate unique texture names.
Definition FBOTextureTarget.h:87
GLuint d_frameBuffer
Frame buffer object.
Definition FBOTextureTarget.h:81
void deactivate()
Deactivate the render target after having completed rendering.
Texture & getTexture() const
Return a pointer to the CEGUI::Texture that the TextureTarget is using.
void activate()
Activate the render target and put it in a state ready to be drawn to.
void declareRenderSize(const Sizef &sz)
Used to declare to the TextureTarget the largest size, in pixels, of the next set of incoming renderi...
GLuint d_texture
Associated OpenGLES texture ID.
Definition FBOTextureTarget.h:83
static void initializedFBOExtension()
initialize FBO extension functions pointers
void resizeRenderTexture()
resize the texture
Intermediate OpenGLES implementation of a RenderTarget.
Definition RendererModules/OpenGLES/RenderTarget.h:43
Renderer class to interface with OpenGLES.
Definition RendererModules/OpenGLES/Renderer.h:67
Texture implementation for the OpenGLESRenderer.
Definition RendererModules/OpenGLES/Texture.h:40
String class used within the GUI system.
Definition String.h:64
Abstract base class specifying the required interface for Texture objects.
Definition Texture.h:54
Main namespace for Crazy Eddie's GUI Library.
Definition arch_overview.dox:1