载入中...
搜索中...
未找到
eve::stylize::IMeshVfxBatchSink类 参考abstract

Immediate graphics-backend contract for a mesh VFX render queue. 更多...

#include <MeshVfxBatchSubmission.h>

类 eve::stylize::IMeshVfxBatchSink 继承关系图:
eve::stylize::MeshEffectRenderer

Public 成员函数

virtual ~IMeshVfxBatchSink ()=default
 Releases IMeshVfxBatchSink resources.
 
virtual MeshVfxSubmitStatus beginBatch (const MeshVfxBatchKey &key)=0
 Begins a consecutive group sharing immutable GPU state.
 
virtual MeshVfxSubmitStatus submitDraw (const MeshVfxBatchedDraw &draw)=0
 Submits one ordered instance in the active batch.
 
virtual MeshVfxSubmitStatus endBatch ()=0
 Ends the active batch and flushes backend-local state if needed.
 

详细描述

Immediate graphics-backend contract for a mesh VFX render queue.

Calls occur synchronously on the caller's render thread. Implementations must not retain references to keys or draws after a method returns. No unknown callback is invoked while the executor holds engine state or a lock.

在文件 MeshVfxBatchSubmission.h 第 44 行定义.

构造及析构函数说明

◆ ~IMeshVfxBatchSink()

virtual eve::stylize::IMeshVfxBatchSink::~IMeshVfxBatchSink ( )
virtualdefault

Releases IMeshVfxBatchSink resources.

成员函数说明

◆ beginBatch()

virtual MeshVfxSubmitStatus eve::stylize::IMeshVfxBatchSink::beginBatch ( const MeshVfxBatchKey &  key)
pure virtual

Begins a consecutive group sharing immutable GPU state.

参数
keyPipeline, material, mesh, pass and blend identity.
返回
Accepted, Skipped, or DeviceUnavailable.

在 eve::stylize::MeshEffectRenderer 内被实现.

被这些函数引用 eve::stylize::MeshVfxBatchExecutor::submit().

◆ endBatch()

virtual MeshVfxSubmitStatus eve::stylize::IMeshVfxBatchSink::endBatch ( )
pure virtual

Ends the active batch and flushes backend-local state if needed.

返回
Accepted, Skipped, or DeviceUnavailable.

在 eve::stylize::MeshEffectRenderer 内被实现.

被这些函数引用 eve::stylize::MeshVfxBatchExecutor::submit().

◆ submitDraw()

virtual MeshVfxSubmitStatus eve::stylize::IMeshVfxBatchSink::submitDraw ( const MeshVfxBatchedDraw &  draw)
pure virtual

Submits one ordered instance in the active batch.

参数
drawStable instance and LOD upload decision.
返回
Accepted, Skipped, or DeviceUnavailable.

在 eve::stylize::MeshEffectRenderer 内被实现.

被这些函数引用 eve::stylize::MeshVfxBatchExecutor::submit().


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