GFXD3D9Cubemap

Engine/source/gfx/D3D9/gfxD3D9Cubemap.h

More...

Protected Attributes

LPDIRECT3DCUBETEXTURE9
bool

Protected Static Attributes

_D3DCUBEMAP_FACES

Public Functions

Returns the face texture format.

Returns the size of the faces.

initDynamic(U32 texSize, GFXFormat faceFormat)

Create a static cubemap from a DDS cubemap file.

Create a static cubemap from a list of 6 face textures.

When called the resource should restore all device sensitive information destroyed by zombify()

When called the resource should destroy all device sensitive information (e.g. D3D resources in D3DPOOL_DEFAULT.

Protected Functions

The callback used to get texture events.

fillCubeTextures(GFXTexHandle * faces, LPDIRECT3DDEVICE9 D3DDevice)

Detailed Description

Public Friends

Protected Attributes

LPDIRECT3DCUBETEXTURE9 mCubeTex 
bool mDynamic 
GFXFormat mFaceFormat 
U32 mTexSize 

Protected Static Attributes

_D3DCUBEMAP_FACES faceList [6]

Public Functions

GFXD3D9Cubemap()

~GFXD3D9Cubemap()

getFormat()

Reimplemented from: GFXCubemap

getSize()

Reimplemented from: GFXCubemap

initDynamic(U32 texSize, GFXFormat faceFormat)

Reimplemented from: GFXCubemap

initStatic(DDSFile * dds)

Reimplemented from: GFXCubemap

initStatic(GFXTexHandle * faces)

Reimplemented from: GFXCubemap

resurrect()

Reimplemented from: GFXResource

setToTexUnit(U32 tuNum)

Reimplemented from: GFXCubemap

zombify()

Reimplemented from: GFXResource

Protected Functions

_onTextureEvent(GFXTexCallbackCode code)

The callback used to get texture events.

fillCubeTextures(GFXTexHandle * faces, LPDIRECT3DDEVICE9 D3DDevice)

releaseSurfaces()