Immediate graphics-backend contract for a mesh VFX render queue. 更多...
#include <MeshVfxBatchSubmission.h>
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()
|
virtualdefault |
Releases IMeshVfxBatchSink resources.
成员函数说明
◆ beginBatch()
|
pure virtual |
Begins a consecutive group sharing immutable GPU state.
- 参数
-
key Pipeline, material, mesh, pass and blend identity.
- 返回
- Accepted, Skipped, or DeviceUnavailable.
在 eve::stylize::MeshEffectRenderer 内被实现.
◆ endBatch()
|
pure virtual |
Ends the active batch and flushes backend-local state if needed.
- 返回
- Accepted, Skipped, or DeviceUnavailable.
在 eve::stylize::MeshEffectRenderer 内被实现.
◆ submitDraw()
|
pure virtual |
Submits one ordered instance in the active batch.
- 参数
-
draw Stable instance and LOD upload decision.
- 返回
- Accepted, Skipped, or DeviceUnavailable.
在 eve::stylize::MeshEffectRenderer 内被实现.
该类的文档由以下文件生成:
- src/modules/stylize/MeshVfxBatchSubmission.h