载入中...
搜索中...
未找到
ForceReceipt.h
浏览该文件的文档.
1#pragma once
2#include <memory>
3#include "common/Export.h"
4#include "common/Time.h"
5
6namespace eve::physics {
7struct ForceStepState;
18public:
20 [[nodiscard]] ForceStepStatus status() const noexcept;
22 [[nodiscard]] SimulationStep step() const noexcept;
23
24private:
25 friend class ForceBatch;
26 explicit ForceReceipt(std::shared_ptr<const ForceStepState> state) : state_(std::move(state)) {}
27 std::shared_ptr<const ForceStepState> state_;
28};
29} // namespace eve::physics
#define EVENGINE_API_WORLD
Definition Export.h:109
wgpu::PopErrorScopeStatus status
Common time values and an injectable deterministic simulation clock.
float step
Definition TreeMesh.cpp:451
Move-only, single-use collection of validated force requests. @ownership Owns values and handles only...
Definition ForceBatch.h:26
Read-only completion receipt, safe to retain after world destruction. @ownership Shares only receipt ...
Optional physics backend for vehicle mobility and body attach.
Definition Climbing.h:36
ForceStepStatus
Completion of the world step to which a submitted force batch belongs.
Definition ForceReceipt.h:9
One deterministic fixed-step emitted by SimulationClock.
Definition Time.h:158