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

IDirect3DCubeTexture9 Interface


Applications use the methods of the IDirect3DCubeTexture9 interface to manipulate a cube texture resource.

IDirect3DCubeTexture9 Members

AddDirtyRect

Adds a dirty region to a cube 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.
GetCubeMapSurface Retrieves a cube texture map surface.
GetDevice Retrieves the device associated with a resource.
GetLevelCount Returns the number of texture levels in a multilevel texture.
GetLevelDesc

Retrieves a description of one face of the specified cube texture level.

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.
LockRect Locks a rectangle on a cube 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 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 cube texture resource.

Remarks

The IDirect3DCubeTexture9 interface can be obtained by calling the IDirect3DDevice9::CreateCubeTexture method or one of the D3DXCreateCubeTexturexxx functions.

This interface inherits additional functionality from the IDirect3DBaseTexture9 interface.

This interface, like all Component Object Model (COM) interfaces, inherits additional functionality from the IUnknown interface.

The LPDIRECT3DCUBETEXTURE9 and PDIRECT3DCUBETEXTURE9 types are defined as pointers to the IDirect3DCubeTexture9 interface.

typedef struct IDirect3DCubeTexture9 *LPDIRECT3DCUBETEXTURE9, *PDIRECT3DCUBETEXTURE9;

Interface Information

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

See Also

IDirect3DDevice9::CreateCubeTexture, D3DXCreateCubeTexture, D3DXCreateCubeTextureFromFile, D3DXCreateCubeTextureFromFileEx, D3DXCreateCubeTextureFromFileInMemory, D3DXCreateCubeTextureFromFileInMemoryEx, D3DXCreateCubeTextureFromResource, D3DXCreateCubeTextureFromResourceEx


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