DevIL Documentation Home | Previous | Next

ilutD3D8Texture

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


IDirect3DTexture8* ilutD3D8Texture(
  IDirect3DDevice8 *Device
);

Parameters

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

Remarks

ilutD3D8Texture creates a Direct3D 8 texture (IDirect3DTexture8) 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