omegalib  13.1
omega::TextureSource Class Referenceabstract

#include <TextureSource.h>

Public Member Functions

 TextureSource ()
 
virtual ~TextureSource ()
 
virtual TexturegetTexture (const DrawContext &context)
 
virtual void attachTexture (Texture *tex, const DrawContext &context)
 
virtual bool isDirty ()
 
virtual void setDirty (bool value=true)
 
void requireExplicitClean (bool value)
 When enabled, the TextureSource object stays dirty even after all the associated Textures have been updated, and will be marked as clean only Through an explicit setDirty(false) call. More...
 
virtual int getHeight ()
 
virtual int getWidth ()
 
- Public Member Functions inherited from omicron::ReferenceType
 ReferenceType ()
 
virtual ~ReferenceType ()
 
void ref ()
 
void unref ()
 
long refCount ()
 

Protected Member Functions

virtual void refreshTexture (Texture *texture, const DrawContext &context)=0
 

Additional Inherited Members

- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 
- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 
+ Inheritance diagram for omega::TextureSource:

Constructor & Destructor Documentation

omega::TextureSource::TextureSource ( )
inline
virtual omega::TextureSource::~TextureSource ( )
inlinevirtual

Member Function Documentation

virtual void omega::TextureSource::attachTexture ( Texture tex,
const DrawContext context 
)
virtual
virtual int omega::TextureSource::getHeight ( )
inlinevirtual

Reimplemented in omega::PixelData.

virtual Texture* omega::TextureSource::getTexture ( const DrawContext context)
virtual
virtual int omega::TextureSource::getWidth ( )
inlinevirtual

Reimplemented in omega::PixelData.

virtual bool omega::TextureSource::isDirty ( )
inlinevirtual
virtual void omega::TextureSource::refreshTexture ( Texture texture,
const DrawContext context 
)
protectedpure virtual

Implemented in omega::PixelData.

void omega::TextureSource::requireExplicitClean ( bool  value)
inline

When enabled, the TextureSource object stays dirty even after all the associated Textures have been updated, and will be marked as clean only Through an explicit setDirty(false) call.

virtual void omega::TextureSource::setDirty ( bool  value = true)
virtual

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