Add support for custom resource parameters

And allow users to skip a precise loader using them


Former-commit-id: 297af2e4a24ad67c343aae5d89352abf4ea05f63
This commit is contained in:
Lynix
2016-03-08 13:37:17 +01:00
parent b524d9395a
commit dce587bd63
22 changed files with 78 additions and 20 deletions

View File

@@ -21,6 +21,8 @@ namespace Nz
template<typename Type, typename Parameters>
class ResourceLoader
{
static_assert(std::is_base_of<ResourceParameters, Parameters>::value, "ResourceParameters must be a base of Parameters");
friend Type;
public: