3#include "pixelbullet/filesystem/asset_path.h"
4#include "pixelbullet/serialization/node.h"
5#include "pixelbullet/serialization/node_reader.h"
17 return node << path.logical_path();
22 std::string logical_path;
23 if (!serialization::TryReadNode(node, logical_path, reader))
28 const auto parsed_path = AssetPath::TryCreate(logical_path);
31 return reader.Fail(
"Expected empty path or aliased asset path rooted at @assets or @shared, got '" + logical_path +
"'.");
Definition asset_path.h:28
Represents a hierarchical node capable of storing various data types and supporting YAML serializatio...
Definition node.h:49
Definition node_reader.h:48