Rebuilds an isolated GPU Agents simulation for deterministic scrub preview. @ownership Service is value-owned; does not retain document/world pointers across calls. 更多...
#include <GpuAgentsPreview.h>
Public 成员函数 | |
| GpuAgentsPreviewSnapshot | build (const GpuAgentsDocumentTarget &target, const GpuAgentsPreviewRequest &request) const |
| Validate, spawn, step and capture a renderer-neutral preview frame. | |
详细描述
Rebuilds an isolated GPU Agents simulation for deterministic scrub preview. @ownership Service is value-owned; does not retain document/world pointers across calls.
在文件 GpuAgentsPreview.h 第 51 行定义.
成员函数说明
◆ build()
| GpuAgentsPreviewSnapshot eve::gpuagents_editor::GpuAgentsPreviewService::build | ( | const GpuAgentsDocumentTarget & | target, |
| const GpuAgentsPreviewRequest & | request | ||
| ) | const |
Validate, spawn, step and capture a renderer-neutral preview frame.
在文件 GpuAgentsPreview.cpp 第 13 行定义.
引用了 a, eve::gpuagents_editor::GpuAgentsPreviewSnapshot::agents, eve::gpuagents_editing::GpuAgentsRuntimeApplier::apply(), c, count, d, eve::gpuagents_editor::GpuAgentsPreviewSnapshot::diagnostics, eve::gpuagents_editor::GpuAgentsPreviewSnapshot::documentRevision, eve::Failed, eve::InvalidArgument, eve::gpuagents_editor::GpuAgentsPreviewSnapshot::lifeTrailEnergy, eve::gpuagents::AgentState::position, r, request, eve::editing::ruleDiagnostic(), s, eve::gpuagents_editor::GpuAgentsPreviewSnapshot::simulatedSeconds, spawned, eve::gpuagents_editor::GpuAgentsPreviewSnapshot::status, step, steps, t, target, world , 以及 eve::gpuagents_editor::GpuAgentsPreviewAgent::x.
该类的文档由以下文件生成:
- src/modules/gpuagents/editor/GpuAgentsPreview.h
- src/modules/gpuagents/editor/GpuAgentsPreview.cpp