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