add "hasInput(const char *name)" in ShaderDescriptorInfo and ShaderCreateInfoVertex classes.

This commit is contained in:
2024-03-12 23:28:23 +08:00
parent ba8b44659b
commit dd6b2f4fb3
4 changed files with 22 additions and 4 deletions

View File

@@ -59,6 +59,8 @@ public:
bool AddInput(ShaderAttribute *);
bool AddOutput(ShaderAttribute *);
bool hasInput(const char *)const; ///<是否有指定输入
void AddStruct(const AnsiString &);
bool AddUBO(DescriptorSetType type,const UBODescriptor *sd);
bool AddSampler(DescriptorSetType type,const SamplerDescriptor *sd);