18 #ifndef __H__OCULAR_RESOURCES_RESOURCE_LOADER_REGISTRAR__H__
19 #define __H__OCULAR_RESOURCES_RESOURCE_LOADER_REGISTRAR__H__
21 #include "Resource.hpp"
22 #include "OcularEngine.hpp"
56 std::shared_ptr<AResourceLoader> shared(loader);
57 OcularEngine.ResourceManager()->registerResourceLoader(shared);
79 #define OCULAR_REGISTER_RESOURCE_LOADER(T) Ocular::Core::ResourceLoaderRegistrar<T> OCULAR_INTERNAL_RegisterResourceLoader;
Definition: ResourceLoader.hpp:55
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: ResourceLoaderRegistrar.hpp:45