DevIL Documentation Home | Previous | Next

ilutD3D8VolumeTexture

The ilutD3D8VolumeTexture function creates a D3D8 volume texture from the current bound image.

IDirect3DTexture8* ilutD3D8VolumeTexture(
  IDirect3DDevice8 *Device);


Parameters

Device
Pointer to an IDirect3DDevice8 interface, representing the device to be associated with the texture.


Remarks

ilutD3D8VolumeTexture creates a Direct3D 8 texture (IDirect3DVolumeTexture8) from the current bound image.

Error Codes

ILUT_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.

See Also