forked from Dynamitos/Seele
Reducing memory usage
This commit is contained in:
1 parent
819b541ff2
commit
64a26bfd57
37 files changed
+216
-44
No files matched your search
@@ -19,6 +19,7 @@ void MaterialAsset::load(ArchiveBuffer& buffer) {
|
||||
material = new Material();
|
||||
material->load(buffer);
|
||||
material->compile();
|
||||
byteSize = material->getCPUSize();
|
||||
}
|
||||
|
||||
PMaterialInstanceAsset MaterialAsset::instantiate(const InstantiationParameter& params) {
|
||||
|
||||
Reference in new issue
Block a user