ScummVM API documentation
Tetraedge::Te3DTexture Class Referenceabstract
Inheritance diagram for Tetraedge::Te3DTexture:
Tetraedge::TeResource Tetraedge::TeObject Tetraedge::TeReferencesCounter

Public Member Functions

virtual void bind () const =0
 
virtual void copyCurrentRender (uint xoffset, uint yoffset, uint x, uint y)=0
 
virtual void create ()=0
 
virtual void destroy ()=0
 
virtual void forceTexData (uint gltexture, uint xsize, uint ysize)=0
 
TeImage::Format getFormat () const
 
bool hasAlpha () const
 
bool load (const Common::Path &path)
 
virtual bool load (const TeImage &img)=0
 
virtual bool unload ()=0
 
virtual void update (const TeImage &img, uint xoff, uint yoff)=0
 
virtual void writeTo (Graphics::Surface &surf)=0
 
uint width () const
 
uint height () const
 
void setLoadAlphaOnly ()
 
- Public Member Functions inherited from Tetraedge::TeResource
void generateAccessName ()
 
const Common::PathgetAccessName () const
 
void setAccessName (const Common::Path &name)
 
- Public Member Functions inherited from Tetraedge::TeObject
void deleteLater ()
 
- Public Member Functions inherited from Tetraedge::TeReferencesCounter
bool decrementCounter ()
 
void incrementCounter ()
 
void resetCounter ()
 

Static Public Member Functions

static TeIntrusivePtr< Te3DTextureload2 (const Common::Path &path, bool alphaOnly)
 
static TeVector2s32 optimisedSize (const TeVector2s32 &size)
 
static Te3DTexturemakeInstance ()
 
- Static Public Member Functions inherited from Tetraedge::TeObject
static void deleteLaterStatic (TeObject *obj)
 
static void deleteNow ()
 
static void cleanup ()
 

Protected Attributes

uint _width
 
uint _height
 
TeImage::Format _format
 
bool _createdTexture
 
bool _loaded
 
TeMatrix4x4 _matrix
 
bool _alphaOnly
 
uint _texWidth
 
uint _texHeight
 
uint _leftBorder
 
uint _btmBorder
 
uint _rightBorder
 
uint _topBorder
 
bool _flipY
 

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