ailiaFinalize method

int ailiaFinalize()

Release GPU and other resources that have been globally allocated with ailia.

Returns:

If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

It must be called with all ailia instances created by ailiaCreate() released by ailiaDestroy(). Otherwise, #ref AILIA_STATUS_INVALID_STATE will be returned. Call this API from DllMain() on Windows OS, there is possibility of a deadlock.

Implementation

int ailiaFinalize() {
  return _ailiaFinalize();
}