4.51.2.4.51. ogSetBlending() | Table of Contents | 4.51.2.4.53. ogSetPal() |
function ogSetLastError(newError:ogErrorCode):ogErrorCode; virtual;Remarks:
Internal critical functions in ObjGfx will set the errorcode by way of calling ogSetLastError(). Since the function is virtual, you may create a child class to intercept the call. This is useful for intercepting errors and giving the user appropiate error messages during an error.
ogGetLastError will return an error related to what specifically failed inside a critical function.
Return value:Returns the previous error code.
See also:4.51.2.4.51. ogSetBlending() | Table of Contents | 4.51.2.4.53. ogSetPal() |