IDirect3DTexture9 interface
Applications use the methods of the IDirect3DTexture9 interface to manipulate a texture resource.
Members
The IDirect3DTexture9 interface inherits from IDirect3DBaseTexture9. IDirect3DTexture9 also has these types of members:
Methods
The IDirect3DTexture9 interface has these methods.
| Method | Description |
|---|---|
| AddDirtyRect |
Adds a dirty region to a texture resource. |
| GetLevelDesc |
Retrieves a level description of a texture resource. |
| GetSurfaceLevel |
Retrieves the specified texture surface level. |
| LockRect |
Locks a rectangle on a texture resource. |
| UnlockRect |
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
|
Header |
|
|---|---|
|
Library |
|
See also
- IDirect3DBaseTexture9
- Direct3D Interfaces
- IDirect3DDevice9::CreateTexture
- D3DXCreateTexture
- D3DXCreateTextureFromFile
- D3DXCreateTextureFromFileEx
- D3DXCreateTextureFromFileInMemory
- D3DXCreateTextureFromFileInMemoryEx
- D3DXCreateTextureFromResource
- D3DXCreateTextureFromResourceEx