载入中...
搜索中...
未找到
eve::editor::MaterialPreviewService类 参考

Revision-safe material preview request and publication service. 更多...

#include <EditorMaterialPreview.h>

Public 成员函数

Result< TaskId > render (const DocumentId &document, const MaterialDocumentTarget &material, MaterialPreviewSettings settings, IMaterialPreviewRenderer &renderer)
 Validate and render a material snapshot in a unique isolated scene.
 
Result< MaterialPreviewRenderResult > result (const TaskId &task) const
 Return one immutable render result.
 
Result< void > publish (const DocumentId &document, Revision currentRevision, const TaskId &task)
 Publish only a successful result matching the current document revision.
 
std::string publishedArtifact (const DocumentId &document) const
 Return the most recently published artifact for a document.
 

详细描述

Revision-safe material preview request and publication service.

在文件 EditorMaterialPreview.h 第 49 行定义.

成员函数说明

◆ publish()

Result< void > eve::editor::MaterialPreviewService::publish ( const DocumentId &  document,
Revision  currentRevision,
const TaskId &  task 
)

Publish only a successful result matching the current document revision.

在文件 EditorMaterialPreview.cpp 第 76 行定义.

引用了 eve::Result< T >::failure(), found , 以及 status.

◆ publishedArtifact()

std::string eve::editor::MaterialPreviewService::publishedArtifact ( const DocumentId &  document) const

Return the most recently published artifact for a document.

在文件 EditorMaterialPreview.cpp 第 98 行定义.

引用了 found.

◆ render()

◆ result()

Result< MaterialPreviewRenderResult > eve::editor::MaterialPreviewService::result ( const TaskId &  task) const

Return one immutable render result.

在文件 EditorMaterialPreview.cpp 第 67 行定义.

引用了 found.


该类的文档由以下文件生成: