MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / Write

Method Write

src/OpenColorIO/OCIOYaml.cpp:5441–5448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5439}
5440
5441void OCIOYaml::Write(std::ostream & ostream, const Config & config)
5442{
5443 YAML::Emitter out;
5444 out.SetDoublePrecision(std::numeric_limits<double>::digits10);
5445 out.SetFloatPrecision(7);
5446 save(out, config);
5447 ostream << out.c_str();
5448}
5449
5450} // namespace OCIO_NAMESPACE

Callers

nothing calls this directly

Calls 1

saveFunction · 0.70

Tested by

no test coverage detected