finished the branch,,,local to world in VertexInputStreaming.

This commit is contained in:
2023-05-06 22:19:50 +08:00
parent abfc84feff
commit 958183bb29
12 changed files with 109 additions and 53 deletions

View File

@@ -3,6 +3,7 @@
#include<hgl/graph/VertexAttrib.h>
#include<hgl/graph/VK.h>
#include<hgl/type/StringList.h>
namespace hgl{namespace graph
{
@@ -21,10 +22,10 @@ protected:
protected:
AnsiString main_codes;
AnsiString output_struct;
AnsiStringList function_list;
AnsiString final_shader;
SPVData *spv_data;
@@ -59,10 +60,7 @@ public:
int AddOutput(const graph::VAT &type,const AnsiString &name);
int AddOutput(const AnsiString &type,const AnsiString &name);
void SetShaderCodes(const AnsiString &str)
{
main_codes=str;
}
void AddFunction(const AnsiString &str){function_list.Add(str);}
const AnsiString &GetOutputStruct()const{return output_struct;}
const AnsiString &GetShaderSource()const{return final_shader;}