Applications use the methods of the IDirect3DBaseTexture9 interface to manipulate texture resources including cube and volume textures.
IDirect3DResource9Method | Description |
---|---|
IDirect3DBaseTexture9::GenerateMipSubLevels | Generate mipmap sublevels. |
IDirect3DBaseTexture9::GetAutoGenFilterType | Get the filter type that is used for automatically generated mipmap sublevels. |
IDirect3DBaseTexture9::GetLevelCount | Returns the number of texture levels in a multilevel texture. |
IDirect3DBaseTexture9::GetLOD | Returns a value clamped to the maximum level-of-detail set for a managed texture (this method is not supported for an unmanaged texture). |
IDirect3DBaseTexture9::SetAutoGenFilterType | Set the filter type that is used for automatically generated mipmap sublevels. |
IDirect3DBaseTexture9::SetLOD | Sets the most detailed level-of-detail for a managed texture. |
The IDirect3DBaseTexture9 interface assigned to a particular stage for a device is obtained by calling the IDirect3DDevice9::GetTexture method.
The LPDIRECT3DBASETEXTURE9 and PDIRECT3DBASETEXTURE9 types are defined as pointers to the IDirect3DBaseTexture9 interface.
typedef struct IDirect3DBaseTexture9 *LPDIRECT3DBASETEXTURE9, *PDIRECT3DBASETEXTURE9;
Header: Declared in D3d9.h.
Import Library: Use D3d9.lib.