#include <KeosTextureBase.h>
Inheritance diagram for Keos::ITextureBase:

Public Member Functions | |
| virtual | ~ITextureBase () |
| Destructor. | |
Protected Member Functions | |
| ITextureBase (const TVector2I &Size, TPixelFormat Format, bool bHasMipmaps, bool bAutoMipmaps) | |
| Constructor. | |
| virtual void | Update (const CRectangle &Rect)=0 |
| Update the pixels of the texture. | |
Protected Attributes | |
| TPixelFormat | m_Format |
| Format of pixels of the texture. | |
| TVector2I | m_Size |
| Texture dimensions. | |
| CImage | m_Data |
| System copy of the pixels of the texture. | |
| bool | m_bHasMipmaps |
| Indicate if the texture has levels of mipmaps. | |
| bool | m_bAutoMipmaps |
| Indicate if the texture can generate its mips in HW. | |
Friends | |
| class | CTexture |
Definition at line 34 of file KeosTextureBase.h.
| Keos::ITextureBase::~ITextureBase | ( | ) | [virtual] |
| Keos::ITextureBase::ITextureBase | ( | const TVector2I & | Size, | |
| TPixelFormat | Format, | |||
| bool | bHasMipmaps, | |||
| bool | bAutoMipmaps | |||
| ) | [protected] |
Constructor.
| Size | Texture size. | |
| Format | Format of pixels of the texture. | |
| bHasMipmaps | Indicate if the texture has levels of mipmaps. | |
| bAutoMipmaps | Indicate if the texture can generate its mips in HW. |
Definition at line 32 of file KeosTextureBase.cpp.
| virtual void Keos::ITextureBase::Update | ( | const CRectangle & | Rect | ) | [protected, pure virtual] |
Update the pixels of the texture.
| Rect | Rectangle to update in the texture. |
friend class CTexture [friend] |
Definition at line 44 of file KeosTextureBase.h.
TPixelFormat Keos::ITextureBase::m_Format [protected] |
TVector2I Keos::ITextureBase::m_Size [protected] |
CImage Keos::ITextureBase::m_Data [protected] |
bool Keos::ITextureBase::m_bHasMipmaps [protected] |
bool Keos::ITextureBase::m_bAutoMipmaps [protected] |
Indicate if the texture can generate its mips in HW.
Definition at line 68 of file KeosTextureBase.h.
1.5.1-p1