[−][src]Module rask_engine::resources
The resource management system for the ratatosk game engine.
Example
use lazy_static::lazy_static; use rask_engine::resources::registry; lazy_static! { static ref TABLE: ResourceTable = unsafe { ResourceTable::new() }; } fn test() { unsafe { let _texture: &Texture = TABLE.get(registry::EMPTY).unwrap(); } }
Modules
| character | |
| registry | |
| sound | |
| texture |
Structs
| Character | |
| ResourceTable | The library is used to store and retrieve resources. |
| Sound | |
| Texture | |
| TextureIds | |
| TextureRange |
Enums
| Resource |
Constants
| RESOURCE_COUNT |
Traits
| GetStore | |
| GetTextures |