LumixEngine/src/graphics/material_manager.h

23 lines
469 B
C
Raw Normal View History

2014-03-08 23:07:20 +01:00
#pragma once
#include "core/resource_manager_base.h"
2014-06-16 21:18:15 +02:00
namespace Lumix
2014-03-08 23:07:20 +01:00
{
2014-06-25 23:20:33 +02:00
class LUMIX_ENGINE_API MaterialManager : public ResourceManagerBase
2014-03-08 23:07:20 +01:00
{
public:
MaterialManager(IAllocator& allocator)
2014-11-09 00:13:11 +01:00
: ResourceManagerBase(allocator)
, m_allocator(allocator)
{}
2014-03-08 23:07:20 +01:00
~MaterialManager() {}
protected:
virtual Resource* createResource(const Path& path) override;
virtual void destroyResource(Resource& resource) override;
private:
IAllocator& m_allocator;
2014-03-08 23:07:20 +01:00
};
}