IDirect3DBaseTexture9 interface

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

Members

The IDirect3DBaseTexture9 interface inherits from IDirect3DResource9. IDirect3DBaseTexture9 also has these types of members:

Methods

The IDirect3DBaseTexture9 interface has these methods.

MethodDescription
GenerateMipSubLevels

Generate mipmap sublevels.

GetAutoGenFilterType

Get the filter type that is used for automatically generated mipmap sublevels.

GetLevelCount

Returns the number of texture levels in a multilevel texture.

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

SetAutoGenFilterType

Set the filter type that is used for automatically generated mipmap sublevels.

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

Header

D3D9.h

Library

D3d9.lib

 

 

Community Additions

ADD
Show:
© 2014 Microsoft