Torque3D Documentation / _generateds / GFXD3D9TextureObject

GFXD3D9TextureObject

Engine/source/gfx/D3D9/gfxD3D9TextureObject.h

More...

Protected Static Attributes

Protected Attributes

IDirect3DSurface9 *
IDirect3DBaseTexture9 *
bool
D3DLOCKED_RECT

Public Attributes

bool

Public Functions

bool
IDirect3DTexture9 *
IDirect3DTexture9 **
IDirect3DVolumeTexture9 *
IDirect3DVolumeTexture9 **
IDirect3DSurface9 *
IDirect3DSurface9 **
IDirect3DBaseTexture9 *
lock(U32 mipLevel, RectI * inRect)

Acquire a lock on part of the texture.

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

unlock(U32 mipLevel)

Releases a lock previously acquired.

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

Detailed Description

Protected Static Attributes

U32 mTexCount 

Protected Attributes

IDirect3DSurface9 * mD3DSurface 
IDirect3DBaseTexture9 * mD3DTexture 
bool mLocked 
D3DLOCKED_RECT mLockRect 
GFXTexHandle mLockTex 

Public Attributes

bool isManaged 

Public Functions

GFXD3D9TextureObject(GFXDevice * d, GFXTextureProfile * profile)

~GFXD3D9TextureObject()

copyToBmp(GBitmap * bmp)

Reimplemented from: GFXTextureObject

get2DTex()

get2DTexPtr()

get3DTex()

get3DTexPtr()

getSurface()

getSurfacePtr()

getTex()

lock(U32 mipLevel, RectI * inRect)

Reimplemented from: GFXTextureObject

release()

resurrect()

Reimplemented from: GFXResource

unlock(U32 mipLevel)

Reimplemented from: GFXTextureObject

zombify()

Reimplemented from: GFXResource