Temporary commit to investigate build error

This commit is contained in:
Dynamitos committed 2020-08-11 21:23:20 +02:00
1 parent f27859a02c
commit 839be06f90
24 files changed
+107 -54

No files matched your search

+6
View File
@@ -16,7 +16,13 @@ public:
virtual void load() override;
virtual std::string getMaterialName() const { return materialName; }
inline std::string getCode() const { return materialCode; }
const Gfx::ShaderCollection* getShaders(Gfx::RenderPassType renderPass, PVertexShaderInput vertexInput) const;
Gfx::ShaderCollection& createShaders(Gfx::PGraphics graphics, Gfx::RenderPassType renderPass, PVertexShaderInput vertexInput);
private:
static Gfx::ShaderMap shaderMap;
static std::mutex shaderMapLock;
void compile();
std::string materialName;
std::string materialCode;