completed AutoMergeMaterialInstance,test ok. next step is to support texture2d array

This commit is contained in:
2023-09-20 21:53:30 +08:00
parent ddb5a0b77a
commit 6820ee8c74
12 changed files with 73 additions and 45 deletions

View File

@@ -70,13 +70,14 @@ public:
const bool hasSet (const DescriptorSetType &type)const;
const VIL * GetDefaultVIL()const;
VIL * CreateVIL(const VILConfig *format_map=nullptr);
bool Release(VIL *);
const uint GetVILCount();
public:
const bool HasMI ()const{return !mi_data_bytes;}
const bool HasMI ()const{return mi_data_bytes>0;}
const uint32_t GetMIDataBytes ()const{return mi_data_bytes;}
const uint32_t GetMIMaxCount ()const{return mi_max_count;}