载入中...
搜索中...
未找到
EntityInspection.h
浏览该文件的文档.
1#pragma once
3
4namespace eve {
7 uint32_t entityId = 0, generation = 0, cellSize = 512;
11 std::vector<std::vector<float>> skinPalettes;
12};
15 std::array<float, 16> view{}, projection{};
16 uint32_t x = 0, y = 0, width = 0, height = 0;
17};
22 std::array<EntityViewCamera, 4> cameras;
23 std::array<float, 6> bounds{};
24 float worldUnitsPerPixel = 0.f;
25};
32public:
33 static constexpr const char* capabilityName = "IEntityInspection";
35 virtual ~IEntityInspection() = default;
44 [[nodiscard]] virtual Result<EntityViewSnapshot> snapshot(std::string_view token) = 0;
46 [[nodiscard]] virtual Result<FrameCapturePhase> release(std::string_view token) = 0;
47};
48} // namespace eve
#define EVENGINE_API_FOUNDATION_INLINE
仅供"只有内联成员"的类型使用的组宏:拥有者 dllexport,消费方不导入。
Definition Export.h:170
const GltfImportRequest & request
OceanGpuFrameToken token
Optional native geometry-inspection provider, independent of graphics types. @thread Engine owner thr...
virtual Result< FrameCapturePhase > release(std::string_view token)=0
Cancel/release; submitted resources survive until their fence completes.
virtual ~IEntityInspection()=default
Withdraw registration before destroying the provider.
virtual Result< std::string > request(EntityViewRequest request)=0
Queue a bounded geometry-only capture; never wait for GPU completion.
virtual Result< EntityViewSnapshot > snapshot(std::string_view token)=0
Poll token without waiting; returns owning metadata and CPU lease only when ready.
Move-only operation result carrying either a value or Status.
Definition Result.h:176
Build metadata (engine git commit, build time, third-party version).
Definition Build.cpp:16
Owning per-panel metadata; matrices are column-major RH/ZO/Y-down.
std::array< float, 16 > projection
std::array< float, 16 > view
Generation-qualified Renderable3D request; geometry diagnostics, world axes, isolated entity.
std::vector< std::vector< float > > skinPalettes
Optional owned per-part palettes for an independently sampled pose. Empty uses the live pose....
Atomic four-view CPU atlas with metadata from the same owner-thread freeze operation.
FrameCaptureSnapshot capture
EntityViewRequest request
std::array< float, 6 > bounds
std::array< EntityViewCamera, 4 > cameras
Owning snapshot metadata; byte storage is immutable and lease-owned.