Files
Seele/src/Engine/Graphics/ShaderCompiler.h
T
2023-01-21 18:43:21 +01:00

22 lines
423 B
C++

#pragma once
#include "Material/Material.h"
#include "GraphicsResources.h"
namespace Seele
{
DECLARE_NAME_REF(Gfx, Graphics)
namespace Gfx
{
class ShaderCompiler
{
public:
ShaderCompiler(PGraphics graphics);
~ShaderCompiler();
void registerMaterial(PMaterial material);
private:
Array<PMaterial> pendingCompiles;
PGraphics graphics;
};
DEFINE_REF(ShaderCompiler)
} // namespace Gfx
} // namespace Seele