moved glsl to standalone .glsl file.

This commit is contained in:
2023-10-07 17:02:00 +08:00
parent 19df201ab5
commit 86123827cb
13 changed files with 145 additions and 62 deletions

View File

@@ -13,7 +13,7 @@ namespace hgl
public:
ShaderCreateInfoVertex(MaterialDescriptorInfo *m):ShaderCreateInfo(VK_SHADER_STAGE_VERTEX_BIT,m){}
ShaderCreateInfoVertex(MaterialDescriptorInfo *);
~ShaderCreateInfoVertex()=default;
int AddInput(const graph::VAT &type,const AnsiString &name,const VkVertexInputRate input_rate=VK_VERTEX_INPUT_RATE_VERTEX,const VertexInputGroup &group=VertexInputGroup::Basic);