载入中...
搜索中...
未找到
BakedAssetFile.cpp 文件参考
#include "physics/backend/bake/BakedAssetFile.h"
#include <algorithm>
#include <atomic>
#include <filesystem>
#include <fstream>
#include <limits>
#include <random>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::physics
 Optional physics backend for vehicle mobility and body attach.
 

函数

std::string eve::physics::bakedAssetContentKey (std::string_view bytes)
 Stable noncryptographic 128-bit content digest, encoded as 32 lowercase hexadecimal bytes. @ownership Borrows bytes only for this call; returns owning text. Reentrant, no callbacks. @cost Linear in bytes, for asset preparation/integrity checks outside sampling.
 
Result< void > eve::physics::publishBakedAsset (std::string_view path, std::string_view bytes)
 Publish complete baked asset bytes atomically without replacing an existing path. @ownership Borrows path and bytes only during this synchronous call; retains neither. @thread Concurrent writers are supported; exactly one can publish a given new path. No callbacks. @cost Linear in bytes plus filesystem durability barriers, once per baked asset outside the frame loop.
 

变量说明

◆ directory