TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ Save()

nlohmann::json PBRMaterialNode::Save ( )
overridevirtual

Implements SNENode.

Definition at line 172 of file PBRMaterialNode.cpp.

173{
174 nlohmann::json data;
175 data["type"] = "PBRMaterial";
176 data["gammaCorrection"] = gammaCorrection;
177 data["hdrTonemapping"] = hdrTonemapping;
178 return data;
179}
a class to store JSON values
Definition: json.hpp:17860