27#ifndef _CEGUIIrrlichtTextureTarget_h_
28#define _CEGUIIrrlichtTextureTarget_h_
30#include "CEGUI/RendererModules/Irrlicht/RendererDef.h"
31#include "../../TextureTarget.h"
32#include "CEGUI/RendererModules/Irrlicht/RenderTarget.h"
33#include "../../String.h"
37# pragma warning(disable : 4250)
51 irr::video::IVideoDriver&
driver);
Intermediate RenderTarget implementing common parts for Irrlicht engine.
Definition RendererModules/Irrlicht/RenderTarget.h:49
CEGUI::Renderer implementation for the Irrlicht engine.
Definition RendererModules/Irrlicht/Renderer.h:72
CEGUI::TextureTarget implementation for the Irrlicht engine.
Definition RendererModules/Irrlicht/TextureTarget.h:47
static String generateTextureName()
helper to generate unique texture names
void activate()
Activate the render target and put it in a state ready to be drawn to.
void deactivate()
Deactivate the render target after having completed rendering.
virtual ~IrrlichtTextureTarget()
Destructor.
static const float DEFAULT_SIZE
default / initial size for the underlying texture.
Definition RendererModules/Irrlicht/TextureTarget.h:68
void cleanupTargetTexture()
cleans up the current render target texture used by this object.
IrrlichtTextureTarget(IrrlichtRenderer &owner, irr::video::IVideoDriver &driver)
Constructor.
static uint s_textureNumber
static data used for creating texture names
Definition RendererModules/Irrlicht/TextureTarget.h:70
void declareRenderSize(const Sizef &sz)
Used to declare to the TextureTarget the largest size, in pixels, of the next set of incoming renderi...
IrrlichtTexture * d_CEGUITexture
This wraps d_texture so it can be used by the core CEGUI lib.
Definition RendererModules/Irrlicht/TextureTarget.h:80
bool isImageryCache() const
Return whether the RenderTarget is an implementation that caches actual rendered imagery.
irr::video::ITexture * d_texture
The irrlicht render target texture we'll be drawing to.
Definition RendererModules/Irrlicht/TextureTarget.h:78
bool isRenderingInverted() const
Return whether rendering done on the target texture is inverted in relation to regular textures.
Texture & getTexture() const
Return a pointer to the CEGUI::Texture that the TextureTarget is using.
void clear()
Clear the surface of the underlying texture.
Implementation of the CEGUI::Texture class for the Irrlicht engine.
Definition RendererModules/Irrlicht/Texture.h:50
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
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