PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
skeleton_asset_internal.h
1#pragma once
2
3#include "pixelbullet/assets/skeleton_asset.h"
4
5#include <string>
6#include <string_view>
7
8namespace pixelbullet::skeleton_asset_internal
9{
10[[nodiscard]] bool IsBinarySkeletonAssetPath(std::string_view logical_path) noexcept;
11[[nodiscard]] bool LoadSkeletonAssetData(const Filesystem& filesystem, const VirtualPath& asset_path, ozz::animation::Skeleton& skeleton,
12 std::string* error_message = nullptr);
13[[nodiscard]] bool SaveSkeletonAssetData(const Filesystem& filesystem, const VirtualPath& asset_path,
14 const ozz::animation::Skeleton& skeleton, std::string* error_message);
15} // namespace pixelbullet::skeleton_asset_internal