added VertexColor2DMaterial at MaterialCreaterTest.cpp

This commit is contained in:
2023-03-15 17:50:33 +08:00
parent 5ba705cd6b
commit 31b5bb6d4f
4 changed files with 65 additions and 11 deletions

View File

@@ -38,6 +38,8 @@ protected:
virtual bool ProcConst();
virtual bool ProcSampler();
bool CompileToSPV();
public:
ShaderDescriptorManager *sdm;
@@ -58,12 +60,9 @@ public:
}
const AnsiString &GetOutputStruct()const{return output_struct;}
bool CreateShader(ShaderCreater *);
const AnsiString &GetShaderSource()const{return final_shader;}
bool CompileToSPV();
bool CreateShader(ShaderCreater *);
};//class ShaderCreater
SHADERGEN_NAMESPACE_END
#endif//HGL_SHADER_CREATER_INCLUDE