Microsoft DirectX 8.1 (C++)

IDirect3DTexture8

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

The IDirect3DTexture8 interface is obtained by calling the IDirect3DDevice8::CreateTexture method.

The methods of the IDirect3DTexture8 interface can be organized into the following groups.

Information GetLevelDesc
Locking Surfaces LockRect
UnlockRect
Miscellaneous AddDirtyRect
GetSurfaceLevel

This interface inherits additional functionality from the IDirect3DBaseTexture8 interface.

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

The LPDIRECT3DTEXTURE8 and PDIRECT3DTEXTURE8 types are defined as pointers to the IDirect3DTexture8 interface.

typedef struct IDirect3DTexture8 *LPDIRECT3DTEXTURE8, *PDIRECT3DTEXTURE8;

Requirements

  Header: Declared in D3d8.h.
  Import Library: Use D3d8.lib.

See Also

IDirect3DDevice8::CreateTexture