move MaterialInstance methods to own class

This commit is contained in:
Nick Fisher
2024-09-20 18:18:08 +08:00
parent 820ad7cb28
commit 3e1b151488
11 changed files with 128 additions and 86 deletions

View File

@@ -287,7 +287,6 @@ namespace thermion_filament
void setMaterialProperty(EntityId entity, int materialIndex, const char* property, float value);
void setMaterialProperty(EntityId entity, int materialIndex, const char* property, int32_t value);
void setMaterialProperty(EntityId entityId, int materialIndex, const char* property, filament::math::float4& value);
void setMaterialDepthWrite(EntityId entityId, int materialIndex, bool enabled);
MaterialInstance* createUbershaderMaterialInstance(MaterialKey key);
void destroy(MaterialInstance* materialInstance);