Synced
AssetDatabase.CompletePendingLoads
Section titled “AssetDatabase.CompletePendingLoads”
- Publishes completed cold loads on the database owner thread without waiting for outstanding IO.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets
Declaration
Section titled “Declaration”public int Inno.Assets.AssetDatabase.CompletePendingLoads(int completionBudget = 8)Parameters
Section titled “Parameters”Parameter completionBudget: The maximum number of ready requests committed at this frame safety point.
Returns
Section titled “Returns”The number of requests completed, failed, or canceled during this call.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: The caller is not the owner thread that created this database.
Exception T:System.ObjectDisposedException: The database has already retired.