ZeroZero Game Engine
v0.0
A 3D game engine using Vulkan & Jolt
|
Register custom nodes types used to map the node's description in JSON scene files and real classes
Static Public Member Functions | |
template<typename T > | |
static shared_ptr< T > | makeShared (const string &clazz) |
template<typename T > | |
static void | registerType (const string &clazz) |
|
nodiscardinlinestatic |
Creates a new shared pointer to a new instance of type clazz
with casting to the type T
|
inlinestatic |
Register a new class. Use it when registering from code. If you want to register outside a bloc of code use the Z0_REGISTER_TYPE(class)
macro after your class declaration