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

@@ -88,6 +88,10 @@ public:
void SetLocalToWorld(UBODescriptor *);
void SetMain(const AnsiString &str){main_function=str;}
void SetMain(const char *str,const int len)
{
main_function.SetString(str,len);
}
const AnsiString &GetOutputStruct()const{return output_struct;}
const AnsiString &GetShaderSource()const{return final_shader;}