Files
Seele/src/Engine/Graphics/ShaderCompiler.h
T

21 lines
402 B
C++
Raw Normal View History

2020-09-19 14:36:50 +02:00
#pragma once
#include "GraphicsResources.h"
namespace Seele
{
2021-04-01 16:40:14 +02:00
DECLARE_NAME_REF(Gfx, Graphics)
2020-09-19 14:36:50 +02:00
namespace Gfx
{
class ShaderCompiler
{
public:
ShaderCompiler(PGraphics graphics);
~ShaderCompiler();
2021-10-19 23:04:38 +02:00
void registerMaterial(PMaterialAsset material);
2020-09-19 14:36:50 +02:00
private:
2021-10-19 23:04:38 +02:00
Array<PMaterialAsset> pendingCompiles;
2020-09-19 14:36:50 +02:00
PGraphics graphics;
};
2021-04-01 16:40:14 +02:00
DEFINE_REF(ShaderCompiler)
2020-09-19 14:36:50 +02:00
} // namespace Gfx
} // namespace Seele