use type instead of set in ShaderDescriptorSet. example "texture rect" can run OK.

This commit is contained in:
2021-06-22 17:39:15 +08:00
parent 2b70ee07c8
commit 713e76215c
6 changed files with 31 additions and 15 deletions

View File

@@ -21,7 +21,7 @@ private:
public:
const DescriptorSetType GetType (){return ds_type;}
const DescriptorSetType GetType (){return ds_type;}
DescriptorSets * GetDescriptorSet (){return descriptor_sets;}
const VkDescriptorSet GetVkDescriptorSet ()const{return descriptor_sets->GetDescriptorSet();}