deDSRenderableRenderTarget Class Reference

Dynamic Skin Renderable Render Target. More...

#include <deDSRenderableRenderTarget.h>

Inheritance diagram for deDSRenderableRenderTarget:
deDSRenderable

List of all members.

Public Member Functions

Constructors and Destructors
 deDSRenderableRenderTarget (const char *name)
 Creates a new renderable.
virtual ~deDSRenderableRenderTarget ()
 Cleans up the renderable.
Management
int GetWidth () const
 Retrieves the width.
void SetWidth (int width)
 Sets the width.
int GetHeight () const
 Retrieves the height.
void SetHeight (int height)
 Sets the height.
int GetComponentCount () const
 Retrieves the number of components.
void SetComponentCount (int componentCount)
 Sets the number of components.
int GetBitCount () const
 Retrieves the bit count of each component.
void SetBitCount (int bitCount)
 Sets the bit count of each component.
deRenderTargetGetRenderTarget () const
 Retrieves the render target or NULL if not set.
void SetRenderTarget (deRenderTarget *renderTarget)
 Sets the render target or NULL if not set.
bool GetDirty () const
 Determines if the render target is dirty.
void SetDirty (bool dirty)
 Sets if the render target is dirty.
Visiting
virtual void Visit (deDSRenderableVisitor *visitor)
 Visits the renderable.

Detailed Description

Dynamic Skin Renderable Render Target.

The texture is defined using the content of a temporary render target. Temporary render targets are not created by the user but by the Graphic Module on the fly if required and for as long as it is required. The user only specifies the dimensions and format of the required render target. This allows the Graphic Module to use GPU memory efficiently. For render targets the Graphic Module sends a paint notification to the host of this renderable. Do not store this render target aside as this would interfere with the Graphic Module. Just use it to render the render target.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deDSRenderableRenderTarget::deDSRenderableRenderTarget ( const char *  name )

Creates a new renderable.

virtual deDSRenderableRenderTarget::~deDSRenderableRenderTarget (  ) [virtual]

Cleans up the renderable.


Member Function Documentation

int deDSRenderableRenderTarget::GetBitCount (  ) const [inline]

Retrieves the bit count of each component.

int deDSRenderableRenderTarget::GetComponentCount (  ) const [inline]

Retrieves the number of components.

bool deDSRenderableRenderTarget::GetDirty (  ) const [inline]

Determines if the render target is dirty.

int deDSRenderableRenderTarget::GetHeight (  ) const [inline]

Retrieves the height.

deRenderTarget* deDSRenderableRenderTarget::GetRenderTarget (  ) const [inline]

Retrieves the render target or NULL if not set.

int deDSRenderableRenderTarget::GetWidth (  ) const [inline]

Retrieves the width.

void deDSRenderableRenderTarget::SetBitCount ( int  bitCount )

Sets the bit count of each component.

void deDSRenderableRenderTarget::SetComponentCount ( int  componentCount )

Sets the number of components.

void deDSRenderableRenderTarget::SetDirty ( bool  dirty )

Sets if the render target is dirty.

void deDSRenderableRenderTarget::SetHeight ( int  height )

Sets the height.

void deDSRenderableRenderTarget::SetRenderTarget ( deRenderTarget renderTarget )

Sets the render target or NULL if not set.

void deDSRenderableRenderTarget::SetWidth ( int  width )

Sets the width.

virtual void deDSRenderableRenderTarget::Visit ( deDSRenderableVisitor visitor ) [virtual]

Visits the renderable.

Reimplemented from deDSRenderable.


The documentation for this class was generated from the following file: