DevIL Documentation Home | Previous | Next

ilutRenderer

The ilutRenderer function initializes the renderer to use OpenILUT with.


ILboolean ilutRenderer(
  ILenum Renderer
);

Parameters

Renderer
Renderer enum of the renderer to switch to. Accepted values are:

ILUT_OPENGL
ILUT_ALLEGRO
ILUT_DIRECTX

Remarks

ilutRenderer switches the renderer OpenILUT uses and sets OpenILUT to use it. Note that the availability of these #define's is determined by whether their respective ILUT_USE_X #define is uncommented. For example, if ILUT_USE_OPENGL is undefined in ilut.h, ILUT_OPENGL will not be available.

Error Codes

None

See Also

Nothing