IDirect3DTexture9 interface (d3d9helper.h)

Applications use the methods of the IDirect3DTexture9 interface to manipulate a texture resource.

Inheritance

The IDirect3DTexture9 interface inherits from IDirect3DBaseTexture9. IDirect3DTexture9 also has these types of members:

Methods

The IDirect3DTexture9 interface has these methods.

 
IDirect3DTexture9::AddDirtyRect

The IDirect3DTexture9::AddDirtyRect method (d3d9.h) adds a dirty region to a texture resource.
IDirect3DTexture9::GetLevelDesc

The IDirect3DTexture9::GetLevelDesc method (d3d9.h) retrieves a level description of a texture resource.
IDirect3DTexture9::GetSurfaceLevel

The IDirect3DTexture9::GetSurfaceLevel method (d3d9.h) retrieves the specified texture surface level.
IDirect3DTexture9::LockRect

The IDirect3DTexture9::LockRect method (d3d9.h) locks a rectangle on a texture resource.
IDirect3DTexture9::UnlockRect

The IDirect3DTexture9::UnlockRect method (d3d9.h) unlocks a rectangle on a texture resource.

Remarks

The IDirect3DTexture9 interface can be obtained by calling the IDirect3DDevice9::CreateTexture method or one of the D3DXCreateTexturexxx functions.

This interface inherits additional functionality from the IDirect3DBaseTexture9 interface.

This interface, like all COM interfaces, inherits from the IUnknown interface.

The LPDIRECT3DTEXTURE9 and PDIRECT3DTEXTURE9 types are defined as pointers to the IDirect3DTexture9 interface.


typedef struct IDirect3DTexture9 *LPDIRECT3DTEXTURE9, *PDIRECT3DTEXTURE9;

Requirements

Requirement Value
Target Platform Windows
Header d3d9helper.h (include D3D9.h)

See also

D3DXCreateTexture

D3DXCreateTextureFromFile

D3DXCreateTextureFromFileEx

D3DXCreateTextureFromFileInMemory

D3DXCreateTextureFromFileInMemoryEx

D3DXCreateTextureFromResource

D3DXCreateTextureFromResourceEx

Direct3D Interfaces

IDirect3DBaseTexture9

IDirect3DDevice9::CreateTexture