ZeroZero Game Engine  v0.0
A 3D game engine using Vulkan & Jolt
Static Public Member Functions | List of all members
Loader Class Reference

Detailed Description

Singleton for loading external resources

Static Public Member Functions

template<typename T = Node>
static shared_ptr< T > load (const string &filepath, bool usecache=false)
 

Member Function Documentation

static shared_ptr<T> load ( const string &  filepath,
bool  usecache = false 
)
inlinestatic

Load a JSON, glTF or ZRes file

Parameters
filepathpath of the JSON/glTF/ZRes file, relative to the application path
usecacheput loaded resources in the global resources cache