载入中...
搜索中...
未找到
PhysicsHandles.cpp
浏览该文件的文档.
20 if (nextIndex.compare_exchange_weak(current, next, std::memory_order_relaxed, std::memory_order_relaxed)) {
Strong identity values shared by persistence, content and logical-name APIs.
Process-local, generation-qualified handles owned by the physics domain.
constexpr std::uint64_t packed() const noexcept
Encodes the two coordinates for a legacy integer boundary.
Definition RuntimeHandle.h:183
PhysicsWorldHandle allocatePhysicsWorldHandle()
Allocates a process-local world handle from the physics owner.
Definition PhysicsHandles.cpp:10
eve::PersistentId makePhysicsWorldPersistentId(PhysicsWorldHandle runtimeHandle)
Creates a non-nil process-local generated identity for a world without an injected persistent ID.
Definition PhysicsHandles.cpp:26
eve::RuntimeHandle< PhysicsWorldHandleTag > PhysicsWorldHandle
Generation-qualified runtime identity for a physics world.
Definition PhysicsHandles.h:26
StrongUuid< detail::PersistentIdTag > PersistentId
Stable instance identity for persistence, networking and process boundaries.
Definition Identity.h:254