Module fyrox_resource::untyped
source · Expand description
A module for untyped resources. See UntypedResource
docs for more info.
Structs§
- Untyped resource is a universal way of storing arbitrary resource types. Internally it wraps
ResourceState
in aArc<Mutex<>
so the untyped resource becomes shareable. In most of the cases you don’t need to deal with untyped resources, use typedResource
wrapper instead. Untyped resource could be useful in cases when you need to collect a set resources of different types in a single collection and do something with them.