first tested ok that AutoMaterial in first_triangle example.

This commit is contained in:
2023-03-21 14:17:33 +08:00
parent 251bbd2705
commit 694add27ae
4 changed files with 102 additions and 21 deletions

View File

@@ -42,9 +42,9 @@ public:
bool hasFragment()const{return hasShader(VK_SHADER_STAGE_FRAGMENT_BIT);}
// bool hasCompute ()const{return hasShader(VK_SHADER_STAGE_COMPUTE_BIT);}
const ShaderCreateInfoVertex * GetVS()const{return vert;}
const ShaderCreateInfoGeometry * GetGS()const{return geom;}
const ShaderCreateInfoFragment * GetFS()const{return frag;}
ShaderCreateInfoVertex * GetVS()const{return vert;}
ShaderCreateInfoGeometry * GetGS()const{return geom;}
ShaderCreateInfoFragment * GetFS()const{return frag;}
public: