You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
任何 EGE API 函数若明确任意参数(若存在)都不会引起调用失败,则可能隐含 noexcept ;
否则,失败的函数可能抛出类型为 std::exception 或其派生类的异常。
分配资源失败的函数,应抛出类型为 std::bad_alloc 或其派生类的异常。
分配资源失败的条件由各个 API 指定。
文档中应该描述
newimage
等资源分配函数失败的条件。因为现在使用
new
实现,所以newimage
不会返回空指针。这些应该在文档中明确。
The text was updated successfully, but these errors were encountered: