2020-06-02 11:46:18 +02:00
|
|
|
#pragma once
|
|
|
|
|
#include "Asset/Asset.h"
|
|
|
|
|
#include "ShaderExpression.h"
|
|
|
|
|
|
|
|
|
|
namespace Seele
|
|
|
|
|
{
|
|
|
|
|
class MaterialAsset : public Asset
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
MaterialAsset();
|
|
|
|
|
MaterialAsset(const std::string &directory, const std::string &name);
|
2020-06-08 01:44:47 +02:00
|
|
|
MaterialAsset(const std::filesystem::path &fullPath);
|
2020-06-02 11:46:18 +02:00
|
|
|
~MaterialAsset();
|
|
|
|
|
protected:
|
|
|
|
|
//For now its simply the collection of parameters, since there is no point for expressions
|
|
|
|
|
Array<PShaderParameter> parameters;
|
|
|
|
|
};
|
|
|
|
|
DEFINE_REF(MaterialAsset);
|
|
|
|
|
} // namespace Seele
|