Applications use the methods of the IDirect3DVolumeTexture9 interface to manipulate a volume texture resource.
IDirect3DResource9Method | Description |
---|---|
IDirect3DVolumeTexture9::AddDirtyBox | Adds a dirty region to a volume texture resource. |
IDirect3DVolumeTexture9::GetLevelDesc | Retrieves a level description of a volume texture resource. |
IDirect3DVolumeTexture9::GetVolumeLevel | Retrieves the specified volume texture level. |
IDirect3DVolumeTexture9::LockBox | Locks a box on a volume texture resource. |
IDirect3DVolumeTexture9::UnlockBox | Unlocks a box on a volume texture resource. |
The IDirect3DVolumeTexture9 interface can be obtained by calling the IDirect3DDevice9::CreateVolumeTexture method or one of the D3DXCreateVolumeTexturexxx functions.
This interface inherits additional functionality from the IDirect3DBaseTexture9 interface.
This interface, like all COM interfaces, inherits from the IUnknown interface.
The LPDIRECT3DVOLUMETEXTURE9 and PDIRECT3DVOLUMETEXTURE9 types are defined as pointers to the IDirect3DVolumeTexture9 interface.
typedef struct IDirect3DVolumeTexture9 *LPDIRECT3DVOLUMETEXTURE9, *PDIRECT3DVOLUMETEXTURE9;
IDirect3DDevice9::CreateVolumeTexture, D3DXCreateVolumeTexture, D3DXCreateVolumeTextureFromFile, D3DXCreateVolumeTextureFromFileEx, D3DXCreateVolumeTextureFromFileInMemory, D3DXCreateVolumeTextureFromFileInMemoryEx, D3DXCreateVolumeTextureFromResource, D3DXCreateVolumeTextureFromResourceEx
Header: Declared in D3d9.h.
Import Library: Use D3d9.lib.