Eidolon
Public Member Functions | List of all members
Texture Class Reference

Represents a texture loaded into memory and available to the graphis hardware. More...

#include <RenderTypes.h>

Inheritance diagram for Texture:
Inheritance graph
Collaboration diagram for Texture:
Collaboration graph

Public Member Functions

 Texture ()
 
virtual ~Texture ()
 
virtual const char * getName () const
 
virtual const char * getFilename () const
 
virtual sval getWidth () const
 
virtual sval getHeight () const
 
virtual sval getDepth () const
 
virtual bool hasAlpha () const
 
virtual TextureFormat getFormat () const
 
virtual void fillBlack ()
 
virtual void fillColor (color col)
 
virtual void fillColor (const ColorMatrix *mat, indexval depth)
 
virtual void fillColor (const RealMatrix *mat, indexval depth, real minval=0.0, real maxval=1.0, const Material *colormat=NULL, const RealMatrix *alphamat=NULL, bool mulAlpha=true)
 

Detailed Description

Represents a texture loaded into memory and available to the graphis hardware.

Constructor & Destructor Documentation

◆ Texture()

Texture ( )
inline

◆ ~Texture()

virtual ~Texture ( )
inlinevirtual

Member Function Documentation

◆ fillBlack()

virtual void fillBlack ( )
inlinevirtual

Reimplemented in OgreTexture.

◆ fillColor() [1/3]

virtual void fillColor ( color  col)
inlinevirtual

Reimplemented in OgreTexture.

◆ fillColor() [2/3]

virtual void fillColor ( const ColorMatrix mat,
indexval  depth 
)
inlinevirtual

Reimplemented in OgreTexture.

◆ fillColor() [3/3]

virtual void fillColor ( const RealMatrix mat,
indexval  depth,
real  minval = 0.0,
real  maxval = 1.0,
const Material colormat = NULL,
const RealMatrix alphamat = NULL,
bool  mulAlpha = true 
)
inlinevirtual

Reimplemented in OgreTexture.

◆ getDepth()

virtual sval getDepth ( ) const
inlinevirtual

Reimplemented in OgreTexture.

◆ getFilename()

virtual const char* getFilename ( ) const
inlinevirtual

Reimplemented in OgreTexture.

◆ getFormat()

virtual TextureFormat getFormat ( ) const
inlinevirtual

Reimplemented in OgreTexture.

◆ getHeight()

virtual sval getHeight ( ) const
inlinevirtual

Reimplemented in OgreTexture.

◆ getName()

virtual const char* getName ( ) const
inlinevirtual

Reimplemented in OgreTexture.

Here is the caller graph for this function:

◆ getWidth()

virtual sval getWidth ( ) const
inlinevirtual

Reimplemented in OgreTexture.

◆ hasAlpha()

virtual bool hasAlpha ( ) const
inlinevirtual

Reimplemented in OgreTexture.


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