17 #ifndef TERRAINMATERIALS_H
18 #define TERRAINMATERIALS_H
20 #include <QSharedPointer>
21 #include "TerrainMaterialDef.h"
23 class TerrainMaterial;
60 #endif // TERRAINMATERIALS_H
void reload()
Reloads TerrainMaterialDefs from the originally specified file, merging the results into currently st...
QSharedPointer< TerrainMaterialDef > getMaterial(const QString &name) const
Returns a shared pointer to the TerrainMaterialDefs with the given name, or a null shared pointer if ...
Class managing a collection of TerrainMaterialDefs.
Definition: TerrainMaterials.h:31
TerrainMaterials(const QString &jsonFilePath)
Construct a TerrainMaterials object and load TerrainMaterialDefs from the named file.