27#ifndef _CEGUIOpenGLTextureTarget_h_
28#define _CEGUIOpenGLTextureTarget_h_
30#include "CEGUI/RendererModules/OpenGL/RenderTarget.h"
31#include "../../TextureTarget.h"
35# pragma warning(disable : 4250)
Intermediate OpenGL implementation of a RenderTarget.
Definition RendererModules/OpenGL/RenderTarget.h:47
Common base class used for other OpenGL (desktop or ES) based renderer modules.
Definition RendererBase.h:54
OpenGLTextureTarget - Common base class for all OpenGL render targets based on some form of RTT suppo...
Definition RendererModules/OpenGL/TextureTarget.h:47
virtual void restoreTexture()
Restore the texture from the locally buffered copy previously create by a call to grabTexture.
bool isRenderingInverted() const
Return whether rendering done on the target texture is inverted in relation to regular textures.
static String generateTextureName()
helper to generate unique texture names
static uint s_textureNumber
static data used for creating texture names
Definition RendererModules/OpenGL/TextureTarget.h:80
Texture & getTexture() const
Return a pointer to the CEGUI::Texture that the TextureTarget is using.
virtual ~OpenGLTextureTarget()
destructor
void createCEGUITexture()
helper to create CEGUI::Texture d_CEGUITexture;
GLuint d_texture
Associated OpenGL texture ID.
Definition RendererModules/OpenGL/TextureTarget.h:86
bool isImageryCache() const
Return whether the RenderTarget is an implementation that caches actual rendered imagery.
OpenGLTextureTarget(OpenGLRendererBase &owner)
constructor.
virtual void grabTexture()
Grab the texture to a local buffer.
OpenGLTexture * d_CEGUITexture
we use this to wrap d_texture so it can be used by the core CEGUI lib.
Definition RendererModules/OpenGL/TextureTarget.h:88
Texture implementation for the OpenGLRenderer.
Definition RendererModules/OpenGL/Texture.h:45
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