DevIL Documentation Home | Previous | Next

ilSetDuration

The ilSetDuration function sets the duration of the current image.


ILboolean ilSetDuration(
  ILuint Duration
);

Parameters

Duration
Number of milliseconds to play the currently bound image.

Remarks

ilSetDuration allows you to set how long to show the currently bound image. This function can also change the durations of individual images in animation chains.

Error Codes

None

See Also