载入中...
搜索中...
未找到
BakedAssetFile.h
浏览该文件的文档.
1#pragma once
2#include <string>
3#include <string_view>
4#include "common/Export.h"
5#include "common/Result.h"
6
7namespace eve::physics {
12[[nodiscard]] EVENGINE_API_BACKENDS std::string bakedAssetContentKey(std::string_view bytes);
26[[nodiscard]] EVENGINE_API_BACKENDS Result<void> publishBakedAsset(std::string_view path, std::string_view bytes);
27} // namespace eve::physics
#define EVENGINE_API_BACKENDS
Definition Export.h:108
std::uint64_t bytes
std::string path
Definition PlayHost.cpp:111
Move-only, checked operation results for the common layer.
Optional physics backend for vehicle mobility and body attach.
Definition Climbing.h:36
std::string bakedAssetContentKey(std::string_view source)
Stable noncryptographic 128-bit content digest, encoded as 32 lowercase hexadecimal bytes....
Result< void > publishBakedAsset(std::string_view path, std::string_view bytes)
Publish complete baked asset bytes atomically without replacing an existing path. @ownership Borrows ...