28 #ifndef _CEGUIIrrlichtRenderer_h_
29 #define _CEGUIIrrlichtRenderer_h_
31 #include "CEGUIIrrlichtRendererDef.h"
32 #include "../../CEGUIRenderer.h"
33 #include "../../CEGUISize.h"
34 #include "../../CEGUIVector.h"
39 # pragma warning(push)
40 # pragma warning(disable : 4251)
64 class IrrlichtTexture;
65 class IrrlichtGeometryBuffer;
66 class IrrlichtResourceProvider;
67 class IrrlichtEventPusher;
68 class IrrlichtImageCodec;
110 static void destroySystem();
120 createIrrlichtResourceProvider(irr::io::IFileSystem& fs);
127 irr::video::IVideoDriver& driver);
133 bool injectEvent(
const irr::SEvent& event);
145 Size getAdjustedTextureSize(
const Size& sz)
const;
152 static float getNextPOTSize(
const float f);
158 void destroyAllGeometryBuffers();
161 void destroyAllTextureTargets();
165 void destroyTexture(
Texture& texture);
166 void destroyAllTextures();
167 void beginRendering();
169 void setDisplaySize(
const Size& sz);
170 const Size& getDisplaySize()
const;
171 const Vector2& getDisplayDPI()
const;
172 uint getMaxTextureSize()
const;
173 const String& getIdentifierString()
const;
219 #if defined(_MSC_VER)
220 # pragma warning(pop)
223 #endif // end of guard _CEGUIIrrlichtRenderer_h_
RenderingRoot * d_defaultRoot
The default rendering root object.
Definition: CEGUIIrrlichtRenderer.h:194
Class used as a two dimensional vector (aka a Point)
Definition: CEGUIVector.h:45
Size d_displaySize
What the renderer considers to be the current display size.
Definition: CEGUIIrrlichtRenderer.h:188
TextureTargetList d_textureTargets
Container used to track texture targets.
Definition: CEGUIIrrlichtRenderer.h:198
Definition: CEGUIIrrlichtEventPusher.h:38
Abstract class defining the interface for objects that buffer geometry for later rendering.
Definition: CEGUIGeometryBuffer.h:42
TextureList d_textures
Container used to track textures.
Definition: CEGUIIrrlichtRenderer.h:206
Class that holds the size (width & height) of something.
Definition: CEGUISize.h:43
Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...
Definition: CEGUITextureTarget.h:41
bool d_supportsNSquareTextures
true if driver supports non square textures
Definition: CEGUIIrrlichtRenderer.h:212
Vector2 d_displayDPI
What the renderer considers to be the current display DPI resolution.
Definition: CEGUIIrrlichtRenderer.h:190
irr::IrrlichtDevice & d_device
The IrrlichtDevide that we'll be using.
Definition: CEGUIIrrlichtRenderer.h:184
std::vector< IrrlichtGeometryBuffer * > GeometryBufferList
container type used to hold GeometryBuffers we create.
Definition: CEGUIIrrlichtRenderer.h:200
Abstract base class specifying the required interface for Texture objects.
Definition: CEGUITexture.h:50
Abstract class defining the basic required interface for Renderer objects.
Definition: CEGUIRenderer.h:80
Definition: CEGUIRenderingRoot.h:36
Definition: CEGUIIrrlichtResourceProvider.h:40
std::vector< TextureTarget * > TextureTargetList
container type used to hold TextureTargets we create.
Definition: CEGUIIrrlichtRenderer.h:196
CEGUI::Renderer implementation for the Irrlicht engine.
Definition: CEGUIIrrlichtRenderer.h:71
std::vector< IrrlichtTexture * > TextureList
container type used to hold Textures we create.
Definition: CEGUIIrrlichtRenderer.h:204
uint d_maxTextureSize
What the renderer thinks the max texture size is.
Definition: CEGUIIrrlichtRenderer.h:208
Defines interface to some surface that can be rendered to. Concrete instances of objects that impleme...
Definition: CEGUIRenderTarget.h:42
GeometryBufferList d_geometryBuffers
Container used to track geometry buffers.
Definition: CEGUIIrrlichtRenderer.h:202
ImageCodec object that loads data via image loading facilities in Irrlicht.
Definition: CEGUIIrrlichtImageCodec.h:47
static String d_rendererID
String holding the renderer identification text.
Definition: CEGUIIrrlichtRenderer.h:182
IrrlichtEventPusher * d_eventPusher
ptr to helper object that aids in injection of events from Irrlicht.
Definition: CEGUIIrrlichtRenderer.h:210
RenderTarget * d_defaultTarget
The default RenderTarget (used by d_defaultRoot)
Definition: CEGUIIrrlichtRenderer.h:192
bool d_supportsNPOTTextures
true if driver supports non power of two textures
Definition: CEGUIIrrlichtRenderer.h:214
irr::video::IVideoDriver * d_driver
Irrlicht video driver (as obtained from the device)
Definition: CEGUIIrrlichtRenderer.h:186
String class used within the GUI system.
Definition: CEGUIString.h:57