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

22 lines
423 B
C++
Raw Normal View History

2020-09-19 14:36:50 +02:00
#pragma once
2023-01-21 18:43:21 +01:00
#include "Material/Material.h"
2020-09-19 14:36:50 +02:00
#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();
2023-01-21 18:43:21 +01:00
void registerMaterial(PMaterial material);
2020-09-19 14:36:50 +02:00
private:
2023-01-21 18:43:21 +01:00
Array<PMaterial> 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