added GLSLCompiler.cpp/.h

This commit is contained in:
2023-03-08 14:02:51 +08:00
parent eed16928e9
commit 2ac91b80ac
11 changed files with 393 additions and 38 deletions

View File

@@ -23,8 +23,6 @@ void main()
{
gl_Position=vec4(Position,0,1);
})");
vsc->CompileToSPV();
}
//添加一个名称为ColorMaterial的UBO定义,其内部有一个vec4 color的属性
@@ -63,12 +61,12 @@ void main()
})");
}
mc.CompileShader();
return(false);
}
int MaterialCreaterTest()
{
return 0;
}