Torque3D Documentation / _generateds / GFXD3D9TextureManager

GFXD3D9TextureManager

Engine/source/gfx/D3D9/gfxD3D9TextureManager.h

More...

Public Friends

Private Attributes

mCurTexSet [TEXTURE_STAGE_COUNT]
LPDIRECT3DDEVICE9
D3DCAPS9

Public Functions

GFXD3D9TextureManager(LPDIRECT3DDEVICE9 d3ddevice, U32 adapterIndex)

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(GFXD3D9TextureObject * obj, U32 height, U32 width, U32 depth, GFXFormat format, GFXTextureProfile * profile, U32 numMipLevels, bool forceMips, S32 antialiasLevel)

Detailed Description

Public Friends

Private Attributes

U32 mAdapterIndex 
U32 mCurTexSet [TEXTURE_STAGE_COUNT]
LPDIRECT3DDEVICE9 mD3DDevice 
D3DCAPS9 mDeviceCaps 

Public Functions

GFXD3D9TextureManager(LPDIRECT3DDEVICE9 d3ddevice, U32 adapterIndex)

~GFXD3D9TextureManager()

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(GFXD3D9TextureObject * obj, U32 height, U32 width, U32 depth, GFXFormat format, GFXTextureProfile * profile, U32 numMipLevels, bool forceMips, S32 antialiasLevel)