d3d9.dllIDirect3DBaseTexture9
Microsoft DirectX 9.0 SDK Update (October 2004)

IDirect3DBaseTexture9 Interface


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

IDirect3DBaseTexture9 Members

FreePrivateData Frees the specified private data associated with this resource.
GenerateMipSubLevels Generate mipmap sublevels.
GetAutoGenFilterType Get the filter type that is used for automatically generated mipmap sublevels.
GetDevice Retrieves the device associated with a resource.
GetLevelCount Returns the number of texture levels in a multilevel texture.
GetLOD Returns a value clamped to the maximum level of detail (LOD) set for a managed texture (this method is not supported for an unmanaged texture).
GetPriority Retrieves the priority for this resource.
GetPrivateData Copies the private data associated with the resource to a provided buffer.
GetType Returns the type of the resource.
PreLoad Preloads a managed resource.
SetAutoGenFilterType Set the filter type that is used for automatically generated mipmap sublevels.
SetLOD Sets the most detailed LOD for a managed texture.
SetPriority Assigns the resource-management priority for this resource.
SetPrivateData Associates data with the resource that is intended for use by the application, not by Microsoft Direct3D. Data is passed by value, and multiple sets of data can be associated with a single resource.

Remarks

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;

Interface Information

Stock Implementationd3d9.dll
Custom ImplementationNo
Inherits fromIDirect3DResource9
Headerd3d9.h
Import libraryd3d9.lib
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.