Inheritance diagram for CEGUI::IrrlichtRenderer:
Public Member Functions | |
IrrlichtRenderer (irr::IrrlichtDevice *dev, bool bWithIrrlichtResourceProvicer=false) | |
create the irrlicht renderer | |
virtual | ~IrrlichtRenderer () |
virtual ResourceProvider * | createResourceProvider (void) |
bool | OnEvent (irr::SEvent &event) |
virtual void | addQuad (const Rect &dest_rect, float z, const Texture *tex, const Rect &texture_rect, const ColourRect &colours, QuadSplitMode quad_split_mode) |
Add a quad to the rendering queue. All clipping and other adjustments should have been made prior to calling this. | |
virtual void | doRender (void) |
Perform final rendering for all quads that have been queued for rendering. | |
virtual void | clearRenderList (void) |
Clears all queued quads from the render queue. | |
virtual void | setQueueingEnabled (bool setting) |
Enable or disable the queueing of quads from this point on. | |
virtual Texture * | createTexture (void) |
Creates a 'null' Texture object. | |
virtual Texture * | createTexture (const String &filename, const String &resourceGroup) |
Create a Texture object using the given image file. | |
virtual Texture * | createTexture (float size) |
Create a Texture object with the given pixel dimensions as specified by size. NB: Textures are always square. | |
virtual void | destroyTexture (Texture *texture) |
Destroy the given Texture object. | |
virtual void | destroyAllTextures (void) |
Destroy all Texture objects. | |
virtual bool | isQueueingEnabled (void) const |
Return whether queueing is enabled. | |
virtual float | getWidth (void) const |
Return the current width of the display in pixels. | |
virtual float | getHeight (void) const |
Return the current height of the display in pixels. | |
virtual Size | getSize (void) const |
Return the size of the display in pixels. | |
virtual Rect | getRect (void) const |
Return a Rect describing the screen. | |
virtual uint | getMaxTextureSize (void) const |
Return the maximum texture size available. | |
virtual uint | getHorzScreenDPI (void) const |
Return the horizontal display resolution dpi. | |
virtual uint | getVertScreenDPI (void) const |
Return the vertical display resolution dpi. | |
Classes | |
struct | quadsorter |
struct | RenderQuad |
|
create the irrlicht renderer constructor
|
|
destructor |
|
Add a quad to the rendering queue. All clipping and other adjustments should have been made prior to calling this.
Implements CEGUI::Renderer. |
|
Clears all queued quads from the render queue.
Implements CEGUI::Renderer. |
|
get an irrlicht resource provider
Reimplemented from CEGUI::Renderer. |
|
Create a Texture object with the given pixel dimensions as specified by size. NB: Textures are always square.
Implements CEGUI::Renderer. |
|
Create a Texture object using the given image file.
Implements CEGUI::Renderer. |
|
Creates a 'null' Texture object.
Implements CEGUI::Renderer. |
|
Destroy all Texture objects.
Implements CEGUI::Renderer. |
|
Destroy the given Texture object.
Implements CEGUI::Renderer. |
|
Perform final rendering for all quads that have been queued for rendering. The contents of the rendering queue is retained and can be rendered again as required. If the contents is not required call clearRenderList().
Implements CEGUI::Renderer. |
|
Return the current height of the display in pixels.
Implements CEGUI::Renderer. |
|
Return the horizontal display resolution dpi.
Implements CEGUI::Renderer. |
|
Return the maximum texture size available.
Implements CEGUI::Renderer. |
|
Return a Rect describing the screen.
Implements CEGUI::Renderer. |
|
Return the size of the display in pixels.
Implements CEGUI::Renderer. |
|
Return the vertical display resolution dpi.
Implements CEGUI::Renderer. |
|
Return the current width of the display in pixels.
Implements CEGUI::Renderer. |
|
Return whether queueing is enabled.
Implements CEGUI::Renderer. |
|
forward event to CEGUI system |
|
Enable or disable the queueing of quads from this point on. This only affects queueing. If queueing is turned off, any calls to addQuad will cause the quad to be rendered directly. Note that disabling queueing will not cause currently queued quads to be rendered, nor is the queue cleared - at any time the queue can still be drawn by calling doRender, and the list can be cleared by calling clearRenderList. Re-enabling the queue causes subsequent quads to be added as if queueing had never been disabled.
Implements CEGUI::Renderer. |