DevIL Documentation Home | Previous | Next

ilRegisterOrigin

The ilRegisterOrigin function registers the current image's origin.


ILvoid ilRegisterOrigin(
  ILenum Origin
);

Parameters

Origin
The origin that the registered image has. Accepted values are:
IL_ORIGIN_LOWER_LEFT
IL_ORIGIN_UPPER_LEFT

Remarks

ilRegisterOrigin tells OpenIL what origin the current registered image has. This function is to be used from within functions that have been registered via ilRegisterLoad.

Error Codes

None

See Also

ilRegisterLoad, ilRegisterFormat, ilRegisterPal, ilRegisterType