IDirect3DBaseTexture9 interface

Applications use the methods of the IDirect3DBaseTexture9 interface to manipulate texture resources including cube and volume textures.

Methods

The IDirect3DBaseTexture9 interface has these methods.

Method 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.

Remarks

The IDirect3DBaseTexture9 interface assigned to a particular stage for a device is obtained by calling the GetTexture method.

The LPDIRECT3DBASETEXTURE9 and PDIRECT3DBASETEXTURE9 types are defined as pointers to the IDirect3DBaseTexture9 interface.

typedef struct IDirect3DBaseTexture9 *LPDIRECT3DBASETEXTURE9, *PDIRECT3DBASETEXTURE9;

Requirements

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

See Also

Direct3D Interfaces

IDirect3DResource9