3#include "ozz/animation/runtime/animation.h"
4#include "ozz/animation/runtime/skeleton.h"
10namespace pixelbullet::ozz_archive_asset_io_internal
12[[nodiscard]]
bool HasPathSuffix(std::string_view logical_path, std::string_view suffix)
noexcept;
14[[nodiscard]]
bool LoadSkeletonArchive(
const std::filesystem::path& resolved_path, std::string_view logical_path,
15 ozz::animation::Skeleton& skeleton, std::string* error_message);
16[[nodiscard]]
bool SaveSkeletonArchive(
const std::filesystem::path& resolved_path, std::string_view logical_path,
17 const ozz::animation::Skeleton& skeleton, std::string* error_message);
19[[nodiscard]]
bool LoadAnimationClipArchive(
const std::filesystem::path& resolved_path, std::string_view logical_path,
20 ozz::animation::Animation& animation, std::string* error_message);
21[[nodiscard]]
bool SaveAnimationClipArchive(
const std::filesystem::path& resolved_path, std::string_view logical_path,
22 const ozz::animation::Animation& animation, std::string* error_message);