My Project
Public Member Functions | Protected Attributes | List of all members
ParaEngine::TextureComposeTask Class Reference

base class for texture composer using using a render target. More...

#include <TextureComposer.h>

Inheritance diagram for ParaEngine::TextureComposeTask:
ParaEngine::CRefCounted ParaEngine::CFaceLayers ParaEngine::CSkinLayers

Public Member Functions

virtual bool IsAssetAllLoaded ()
 
virtual void OnTaskCompleted ()
 
virtual void DoPaint (CPaintDevice *pd)
 
virtual TextureEntityGetTexture ()
 
bool UpdateToStaticTexture (CRenderTarget *pRenderTarget, Color colorKey=0)
 
const std::string & GetName () const
 
void SetName (const std::string &val)
 
bool IsDirty () const
 
void SetDirty (bool val)
 
- Public Member Functions inherited from ParaEngine::CRefCounted
void addref () const
 add reference count of the object. More...
 
bool delref () const
 decrease reference count of the object. More...
 
int GetRefCount () const
 get the reference count
 
virtual int Release ()
 
CRefCountedAddToAutoReleasePool ()
 addref and releases the ownership sometime soon automatically (usually at the end of the current frame). More...
 

Protected Attributes

bool m_dirty
 
std::string m_name
 
ref_ptr< TextureEntitym_composedTexture
 
- Protected Attributes inherited from ParaEngine::CRefCounted
int m_refcount
 

Detailed Description

base class for texture composer using using a render target.

Member Function Documentation

§ UpdateToStaticTexture()

bool ParaEngine::TextureComposeTask::UpdateToStaticTexture ( CRenderTarget pRenderTarget,
Color  colorKey = 0 
)
Parameters
colorKeytransparent color key. if 0, it means no color key.

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