Torque3D Documentation / _generateds / GFXD3D11TextureManager

GFXD3D11TextureManager

Engine/source/gfx/D3D11/gfxD3D11TextureManager.h

More...

Public Friends

Private Attributes

mCurTexSet [GFX_TEXTURE_STAGE_COUNT]

Public Functions

createResourceView(U32 height, U32 width, U32 depth, DXGI_FORMAT format, U32 numMipLevels, U32 usageFlags, GFXTextureObject * inTex)

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

Detailed Description

Public Friends

Private Attributes

U32 mCurTexSet [GFX_TEXTURE_STAGE_COUNT]

Public Functions

GFXD3D11TextureManager()

~GFXD3D11TextureManager()

createResourceView(U32 height, U32 width, U32 depth, DXGI_FORMAT format, U32 numMipLevels, U32 usageFlags, GFXTextureObject * inTex)

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