DevIL Documentation | Home | Previous | Next |
The ilOriginFunc sets the default origin to be used when loading images.
ILboolean ilOriginFunc(
ILenum Mode
);
ilOriginFunc sets the origin to be used when loading all images, so that any image with a different origin will be flipped to have the set origin. This behaviour is actually disabled by default but can be enabled using ilEnable with the IL_ORIGIN_SET parameter.
IL_INVALID_PARAM - Mode was of an invalid value.
ilLoad, ilLoadF, ilLoadL, ilLoadImage