Searched refs:eson_filename (Results 1 – 14 of 14) sorted by relevance
/dports/graphics/nanort/nanort-b1feea8/examples/vdisp/ |
H A D | serialize.h | 12 bool SaveSceneToEson(const std::string &eson_filename, const Scene &scene); 13 bool LoadSceneFromEson(const std::string &eson_filename, Scene *scene);
|
H A D | serialize.cc | 43 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 D | render-config.h | 27 std::string eson_filename; member
|
H A D | main.cc | 643 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 D | render-config.cc | 49 config->eson_filename = o["eson_filename"].get<std::string>(); in LoadRenderConfig()
|
/dports/graphics/nanort/nanort-b1feea8/examples/gui/ |
H A D | render.h | 19 bool SaveEsonMesh(const char* eson_filename); 22 bool LoadEsonMesh(const char* eson_filename);
|
H A D | main.cc | 455 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 D | render-config.h | 34 std::string eson_filename; member
|
H A D | render-config.cc | 40 config->eson_filename = o["eson_filename"].get<std::string>(); in LoadRenderConfig()
|
H A D | render.cc | 658 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 D | render-config.h | 32 std::string eson_filename; member
|
H A D | render-config.cc | 40 config->eson_filename = o["eson_filename"].get<std::string>(); in LoadRenderConfig()
|
/dports/graphics/nanort/nanort-b1feea8/examples/ptex/src/ |
H A D | render-config.h | 33 std::string eson_filename; member
|
H A D | render-config.cc | 49 config->eson_filename = o["eson_filename"].get<std::string>(); in LoadRenderConfig()
|