DevIL Documentation Previous | IL | Next

 

ilRegisterOrigin

 

ilRegisterFormat tells OpenIL what format the current registered image is in. This function is to be used from within functions that have been registered via ilRegisterLoad

 

ILvoid ilRegisterOrigin(
  ILenum Origin, ILenum Mode );


Parameters

 
Origin
The new Origin of the image
Mode
Specifies the origin to be used


Origin

 
IL_ORIGIN_LOWER_LEFT
The origin is in the lower left of the image.
IL_ORIGIN_UPPER_LEFT
The origin is in the upper left of the image.

See Also

 
ilRegisterLoad, ilRegisterOrigin, ilRegisterPal, ilRegisterType,