Home
last modified time | relevance | path

Searched refs:eson_filename (Results 1 – 14 of 14) sorted by relevance

/dports/graphics/nanort/nanort-b1feea8/examples/vdisp/
H A Dserialize.h12 bool SaveSceneToEson(const std::string &eson_filename, const Scene &scene);
13 bool LoadSceneFromEson(const std::string &eson_filename, Scene *scene);
H A Dserialize.cc43 bool SaveSceneToEson(const std::string &eson_filename, const Scene &scene) { in SaveSceneToEson() argument
44 std::cout << "[SaveESON] " << eson_filename << std::endl; in SaveSceneToEson()
104 FILE* fp = fopen(eson_filename.c_str(), "wb"); in SaveSceneToEson()
114 bool LoadSceneFromEson(const std::string &eson_filename, Scene *scene) { in LoadSceneFromEson() argument
117 std::cout << "[LoadESON] " << eson_filename << std::endl; in LoadSceneFromEson()
119 FILE* fp = fopen(eson_filename.c_str(), "rb"); in LoadSceneFromEson()
H A Drender-config.h27 std::string eson_filename; member
H A Dmain.cc643 if (!gRenderConfig.eson_filename.empty()) { in main()
644 eson_load_ok = LoadSceneFromEson(gRenderConfig.eson_filename, &gScene); in main()
668 if (!gRenderConfig.eson_filename.empty()) { in main()
670 if (!SaveSceneToEson(gRenderConfig.eson_filename, gScene)) { in main()
H A Drender-config.cc49 config->eson_filename = o["eson_filename"].get<std::string>(); in LoadRenderConfig()
/dports/graphics/nanort/nanort-b1feea8/examples/gui/
H A Drender.h19 bool SaveEsonMesh(const char* eson_filename);
22 bool LoadEsonMesh(const char* eson_filename);
H A Dmain.cc455 if (!gRenderConfig.eson_filename.empty()) { in main()
456 eson_ret = gRenderer.LoadEsonMesh(gRenderConfig.eson_filename.c_str()); in main()
459 gRenderConfig.eson_filename.c_str()); in main()
472 if (!gRenderConfig.eson_filename.empty()) { in main()
473 eson_ret = gRenderer.SaveEsonMesh(gRenderConfig.eson_filename.c_str()); in main()
476 gRenderConfig.eson_filename.c_str()); in main()
H A Drender-config.h34 std::string eson_filename; member
H A Drender-config.cc40 config->eson_filename = o["eson_filename"].get<std::string>(); in LoadRenderConfig()
H A Drender.cc658 bool Renderer::SaveEsonMesh(const char* eson_filename) { in SaveEsonMesh() argument
659 std::cout << "[SaveESON] " << eson_filename << std::endl; in SaveEsonMesh()
719 FILE* fp = fopen(eson_filename, "wb"); in SaveEsonMesh()
729 bool Renderer::LoadEsonMesh(const char* eson_filename) { in LoadEsonMesh() argument
732 std::cout << "[LoadESON] " << eson_filename << std::endl; in LoadEsonMesh()
734 FILE* fp = fopen(eson_filename, "rb"); in LoadEsonMesh()
/dports/graphics/nanort/nanort-b1feea8/examples/nanosg/
H A Drender-config.h32 std::string eson_filename; member
H A Drender-config.cc40 config->eson_filename = o["eson_filename"].get<std::string>(); in LoadRenderConfig()
/dports/graphics/nanort/nanort-b1feea8/examples/ptex/src/
H A Drender-config.h33 std::string eson_filename; member
H A Drender-config.cc49 config->eson_filename = o["eson_filename"].get<std::string>(); in LoadRenderConfig()