Torque3D Documentation / _generateds / GFXGLTextureManager

GFXGLTextureManager

Engine/source/gfx/gl/gfxGLTextureManager.h

More...

Public Friends

Protected Functions

_createTextureObject(U32 height, U32 width, U32 depth, GFXFormat format, GFXTextureProfile * profile, U32 numMipLevels, bool forceMips, S32 antialiasLevel, GFXTextureObject * inTex)

@group Internal Texture Manager Interface

bool
_freeTexture(GFXTextureObject * texture, bool zombify)

Free a texture (but do not delete the GFXTextureObject) using the internal API.

bool

Load a texture from a proper DDSFile instance.

bool

Load data into a texture from a GBitmap using the internal API.

bool

Load data into a texture from a raw buffer using the internal API.

bool

Refresh a texture using the internal API.

Private Functions

innerCreateTexture(GFXGLTextureObject * obj, U32 height, U32 width, U32 depth, GFXFormat format, GFXTextureProfile * profile, U32 numMipLevels, bool forceMips)

Creates internal GL texture.

Detailed Description

Public Friends

Public Functions

GFXGLTextureManager()

~GFXGLTextureManager()

Protected Functions

_createTextureObject(U32 height, U32 width, U32 depth, GFXFormat format, GFXTextureProfile * profile, U32 numMipLevels, bool forceMips, S32 antialiasLevel, GFXTextureObject * inTex)

Reimplemented from: GFXTextureManager

_freeTexture(GFXTextureObject * texture, bool zombify)

Reimplemented from: GFXTextureManager

_loadTexture(GFXTextureObject * texture, DDSFile * dds)

Reimplemented from: GFXTextureManager

_loadTexture(GFXTextureObject * texture, GBitmap * bmp)

Reimplemented from: GFXTextureManager

_loadTexture(GFXTextureObject * texture, void * raw)

Reimplemented from: GFXTextureManager

_refreshTexture(GFXTextureObject * texture)

Reimplemented from: GFXTextureManager

Private Functions

innerCreateTexture(GFXGLTextureObject * obj, U32 height, U32 width, U32 depth, GFXFormat format, GFXTextureProfile * profile, U32 numMipLevels, bool forceMips)

Creates internal GL texture.