Applications use the methods of the IDirect3DTexture9 interface to manipulate a texture resource.
IDirect3DResource9Method | Description |
---|---|
IDirect3DTexture9::AddDirtyRect | Adds a dirty region to a texture resource. |
IDirect3DTexture9::GetLevelDesc | Retrieves a level description of a texture resource. |
IDirect3DTexture9::GetSurfaceLevel | Retrieves the specified texture surface level. |
IDirect3DTexture9::LockRect | Locks a rectangle on a texture resource. |
IDirect3DTexture9::UnlockRect | Unlocks a rectangle on a texture resource. |
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;
IDirect3DDevice9::CreateTexture, D3DXCreateTexture, D3DXCreateTextureFromFile, D3DXCreateTextureFromFileEx, D3DXCreateTextureFromFileInMemory, D3DXCreateTextureFromFileInMemoryEx, D3DXCreateTextureFromResource, D3DXCreateTextureFromResourceEx
Header: Declared in D3d9.h.
Import Library: Use D3d9.lib.