LumixEngine/src/graphics/material_manager.h
2014-11-09 00:13:11 +01:00

23 lines
No EOL
469 B
C++

#pragma once
#include "core/resource_manager_base.h"
namespace Lumix
{
class LUMIX_ENGINE_API MaterialManager : public ResourceManagerBase
{
public:
MaterialManager(IAllocator& allocator)
: ResourceManagerBase(allocator)
, m_allocator(allocator)
{}
~MaterialManager() {}
protected:
virtual Resource* createResource(const Path& path) override;
virtual void destroyResource(Resource& resource) override;
private:
IAllocator& m_allocator;
};
}