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