ailiaFinalize method

int ailiaFinalize()

~japanese @brief ailiaがグローバルに確保したGPUリソース等を解放します @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返します。 @details ailiaCreate() で作成したインスタンス全てを ailiaDestroy() で解放した状態で呼び出す必要があります。 それ以外の状態で呼び出された場合 #ref AILIA_STATUS_INVALID_STATE を返します。 Windows 環境の場合、DllMain 等からこの API を呼び出すとデッドロックする可能性があります。

~english @brief Release GPU and other resources that have been globally allocated with ailia. @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise. @details 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();
}