ITexture

Texture object interface. More...

#include

Public Member Functions

virtual int AddRef ()=0
virtual int Release ()=0
virtual int ReleaseForce ()=0
virtual const char * GetName () const =0
virtual const int GetWidth () const =0
virtual const int GetHeight () const =0
virtual const int GetDepth () const =0
virtual const int GetTextureID () const =0
virtual const uint32 GetFlags () const =0
virtual const int GetNumMips () const =0
virtual const int GetRequiredMip () const =0
virtual const int GetDeviceDataSize () const =0
virtual const int GetDataSize () const =0
virtual const ETEX_Type GetTextureType () const =0
virtual const bool IsTextureLoaded () const =0
virtual void PrecacheAsynchronously (float fMipFactor, int nFlags, int nUpdateId, int nCounter=1)=0
virtual uint8 * GetData32 (int nSide=0, int nLevel=0, uint8 *pDst=NULL, ETEX_Format eDstFormat=eTF_R8G8B8A8)=0
virtual bool SetFilter (int nFilter)=0
FILTER_ flags.
virtual void SetClamp (bool bEnable)=0
Texture addressing set.
virtual float GetAvgBrightness () const =0
virtual bool Clear ()=0
virtual bool Clear (const ColorF &color)=0
virtual int StreamCalculateMipsSigned (float fMipFactor) const =0
virtual int GetStreamableMipNumber () const =0
virtual int GetStreamableMemoryUsage (int nStartMip) const =0
virtual int GetMinLoadedMip () const =0
virtual const char * GetFormatName () const =0
Used for debugging/profiling.
virtual const char * GetTypeName () const =0
virtual const bool IsStreamedVirtual () const =0
virtual const bool IsShared () const =0
virtual const bool IsStreamable () const =0
virtual bool IsStreamedIn (const int nMinPrecacheRoundIds[2]) const =0
virtual const int GetAccessFrameId () const =0
virtual const int GetCustomID () const =0
virtual void SetCustomID (int nID)=0
virtual const ETEX_Format GetTextureDstFormat () const =0
virtual const ETEX_Format GetTextureSrcFormat () const =0
virtual bool IsPostponed () const =0
virtual const bool IsParticularMipStreamed (float fMipFactor) const =0
virtual const ColorB * GetLowResSystemCopy (uint16 &nWidth, uint16 &nHeight, int **ppLowResSystemCopyAtlasId)
Get low res system memory (used for CPU voxelization).
virtual void UpdateData (STexData &td, int flags)=0
void GetMemoryUsage (ICrySizer *pSizer) const
virtual void SetKeepSystemCopy (const bool bKeepSystemCopy)=0

Detailed Description

Texture object interface.