#include <BaseTexture.h>
Inheritance diagram for Moteur3D::BaseTexture:
Public Types | |
enum | TexturePrecision { Fast, Precise } |
Public Member Functions | |
BaseTexture (TexturePrecision precision=Precise, bool useMipMap=true, GLenum format=GL_RGB) | |
~BaseTexture () | |
virtual int | GetWidth () |
virtual int | GetHeight () |
virtual void | Register () |
virtual void | Bind () |
virtual void | Free () |
virtual void | SetData (int width, int height, int internalFormat, GLenum dataType, void *textureData, bool canFreeData) |
Protected Attributes | |
bool | m_UseMipMap |
GLuint | m_TextureID |
void * | m_TextureData |
int | m_TextureWidth |
int | m_TextureHeight |
bool | m_CanFreeTextureData |
int | m_InternalFormat |
GLenum | m_DataType |
GLenum | m_OutputFormat |
TexturePrecision | m_TexturePrecision |
|
Reimplemented from Moteur3D::ITexture. |
|
|
|
|
|
Implements Moteur3D::ITexture. |
|
Implements Moteur3D::ITexture. |
|
Implements Moteur3D::ITexture. |
|
Implements Moteur3D::ITexture. |
|
Implements Moteur3D::ITexture. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from Moteur3D::ITexture. |
|
|
|
|