Inheritance diagram for CEGUI::DirectX9Renderer:
Public Member Functions | |
DirectX9Renderer (LPDIRECT3DDEVICE9 device, uint max_quads) | |
Constructor for Direct3D 9.0 Renderer object. | |
virtual | ~DirectX9Renderer (void) |
Destructor for DirectX9Renderer objects. | |
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. | |
LPDIRECT3DDEVICE9 | getDevice (void) const |
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. | |
virtual void | preD3DReset (void) |
Direct3D support method that must be called prior to a Reset call on the Direct3DDevice; this is required so that the GUI renderer can release any unmanaged D3D resources as needed for the device reset to succeed. | |
virtual void | postD3DReset (void) |
Direct3D support method that must be called after a Reset call on the Direct3DDevice; this is required so that the GUI renderer can rebuild any unmanaged D3D resources after the device has been reset. | |
void | setDisplaySize (const Size &sz) |
Set the size of the display in pixels. | |
Classes | |
struct | QuadInfo |
structure holding details about a quad to be drawn | |
struct | QuadVertex |
FVF structure used for all vertices. |
|
Constructor for Direct3D 9.0 Renderer object.
|
|
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. |
|
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. |
|
Set the size of the display in pixels. You do not have to call this method under normal operation as the system will automatically extract the size from the current view port.
|
|
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. |