void Material_Dielectric::WriteData(DataWriter& writer) const { Material::WriteData(writer); MaterialValueGraph graph(List<const MaterialValue*>(IndexOfRefraction.Get())); writer.WriteDataStructure(graph, "IndexOfRefraction"); }
void Material_Medium::WriteData(DataWriter& writer) const { Material::WriteData(writer); MaterialValueGraph graph(List<const MaterialValue*>(Albedo.Get())); writer.WriteDataStructure(graph, "Albedo"); }