载入中...
搜索中...
未找到
eve::gpuagents_editing::GpuAgentsRuntimeApplier类 参考
Optional bridge projecting a validated document into live World/Backend. @ownership Borrowed world/backend; does not take ownership. 更多...
#include <GpuAgentsDocument.h>
Public 成员函数 | |
| Result< void > | apply (const GpuAgentsDocumentTarget &target, gpuagents::EffectBackend *backend, gpuagents::GpuAgentWorld *world) const |
| Configure backend from document and optionally re-init the world surface domain. | |
详细描述
Optional bridge projecting a validated document into live World/Backend. @ownership Borrowed world/backend; does not take ownership.
在文件 GpuAgentsDocument.h 第 136 行定义.
成员函数说明
◆ apply()
| Result< void > eve::gpuagents_editing::GpuAgentsRuntimeApplier::apply | ( | const GpuAgentsDocumentTarget & | target, |
| gpuagents::EffectBackend * | backend, | ||
| gpuagents::GpuAgentWorld * | world | ||
| ) | const |
Configure backend from document and optionally re-init the world surface domain.
- 参数
-
target Authoring document. backend Live backend to reconfigure. world Optional world whose surface origin/size/resolution is updated for LifeNetwork. @ownership Borrowed pointers. @lifetime Valid for the duration of the call.
在文件 GpuAgentsDocument.cpp 第 348 行定义.
引用了 eve::editing::applied(), eve::gpuagents::EffectBackend::configure(), d, eve::Result< T >::failure(), target, eve::gpuagents_editing::toEffectProfile() , 以及 world.
被这些函数引用 eve::gpuagents_editor::GpuAgentsPreviewService::build().
该类的文档由以下文件生成:
- src/modules/gpuagents/editing/GpuAgentsDocument.h
- src/modules/gpuagents/editing/GpuAgentsDocument.cpp