IDirect3DCubeTexture9 interface

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

Methods

The IDirect3DCubeTexture9 interface has these methods.

Method Description
IDirect3DCubeTexture9::AddDirtyRect Adds a dirty region to a cube texture resource.
IDirect3DCubeTexture9::GetCubeMapSurface Retrieves a cube texture map surface.
IDirect3DCubeTexture9::GetLevelDesc Retrieves a description of one face of the specified cube texture level.
IDirect3DCubeTexture9::LockRect Locks a rectangle on a cube texture resource.
IDirect3DCubeTexture9::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 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;

Requirements

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

See Also

D3DXCreateCubeTexture

D3DXCreateCubeTextureFromFile

D3DXCreateCubeTextureFromFileEx

D3DXCreateCubeTextureFromFileInMemory

D3DXCreateCubeTextureFromFileInMemoryEx

D3DXCreateCubeTextureFromResource

D3DXCreateCubeTextureFromResourceEx

Direct3D Interfaces

IDirect3DBaseTexture9

IDirect3DDevice9::CreateCubeTexture