Std2DMaterialLoader start ok,,but don't support Sampler2D in material file...

This commit is contained in:
2023-10-10 02:48:02 +08:00
parent 03750832c8
commit 7ca81f38e8
6 changed files with 142 additions and 45 deletions

View File

@@ -37,13 +37,13 @@ namespace hgl
protected:
virtual bool BeginCustomShader(){return true;/*some work before creating shader*/};
virtual bool BeginCustomShader(){return true;/*some work before create shader*/};
virtual bool CustomVertexShader(ShaderCreateInfoVertex *)=0;
virtual bool CustomGeometryShader(ShaderCreateInfoGeometry *){return false;}
virtual bool CustomFragmentShader(ShaderCreateInfoFragment *)=0;
virtual bool EndCustomShader(){return true;/*some work after creating shader*/};
virtual bool EndCustomShader(){return true;/*some work after create shader*/};
public: