Module resource_manager
Structs§
- An opaque handle to a
ResourceManagertask. - Use the
ResourceManagerto access and use resources in kzb files. The resource manager maintains kzb files and provides mechanisms to load resources from kzb files. - The memory usage summary for all resources.
Enums§
Traits§
- Use this trait to implement the load tasks that load new resources. A load task is split into an optional
loadand mandatoryfinishfunctions. Theloadfunction may be called in a background worker thread, instead of the main thread. And so only thread independent work should be done here. While thefinishfunction is guaranteed to be called in the main thread. - Use this trait to implement the protocol for loading resources.
- Use this trait to implement the protocol for reloading GPU resources.