Constructor Function.
41 {
43
45
46 for (int i = 0; i < data.size(); i++)
47 {
49 const Json& json = data[i];
50
51 std::string folder = json["uri"];
52
53 std::stringstream file;
54 file << path.string() << "/" << folder;
55
56 item.uri = file.str();
57
59 {
60 std::stringstream ss;
61 ss << "Image Files: " << item.uri << " is not finded.";
62
63 SPICES_CORE_ERROR(ss.str())
64 continue;
65 }
66 }
67 }
#define SPICES_PROFILE_ZONE
static bool FileLibrary_Exists(const char *path)
Determine whether the given string is existing a file.
std::vector< Item > m_ImagesData
Data of Gltf Json Cameras.
GltfObject(const Json &data)
Constructor Function.
nlohmann::json Json
using Json insteadd of nlohmann::json