Module resource_manager

Structs§

ResourceAcquireTask
An opaque handle to a ResourceManager task.
ResourceManager
Use the ResourceManager to access and use resources in kzb files. The resource manager maintains kzb files and provides mechanisms to load resources from kzb files.
ResourceUsage
The memory usage summary for all resources.

Enums§

Either

Traits§

AcquireFinishedCallback
ResourceLoadTask
Use this trait to implement the load tasks that load new resources. A load task is split into an optional load and mandatory finish functions. The load function may be called in a background worker thread, instead of the main thread. And so only thread independent work should be done here. While the finish function is guaranteed to be called in the main thread.
ResourceProtocol
Use this trait to implement the protocol for loading resources.
ResourceReloadProtocol
Use this trait to implement the protocol for reloading GPU resources.

Functions§

ResourceManager_AcquireFinishedCallback_executor