?/TD> |
Microsoft DirectX 9.0 |
Applications use the methods of the IDirect3DTexture9 interface to manipulate a texture resource.
IDirect3DTexture9 Members
AddDirtyRect Adds a dirty region to a texture resource. 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.
GetLevelDesc Retrieves a level description of a texture resource. GetLOD Returns a value clamped to the maximum level of detail (LOD) set for a managed texture.
GetPriority Retrieves the priority for this resource.
GetPrivateData Copies the private data associated with the resource to a provided buffer.
GetSurfaceLevel Retrieves the specified texture surface level. GetType Returns the type of the resource.
LockRect Locks a rectangle on a texture resource. PreLoad Preloads a managed resource.
SetAutoGenFilterType Set the filter type that is used for automatically generated mipmap sublevels.
SetLOD Sets the most detailed level of detail (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.
UnlockRect Unlocks a rectangle on a texture resource.
Remarks
The IDirect3DTexture9 interface is obtained by calling the IDirect3DDevice9::CreateTexture method.
This interface inherits additional functionality from the IDirect3DBaseTexture9 interface.
This interface, like all Component Object Model (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;
Interface Information
Inherits from IDirect3DBaseTexture9 Header d3d9.h Import library d3d9.lib Minimum operating systems Windows 98
See Also
IDirect3DDevice9::CreateTexture