载入中...
搜索中...
未找到
MeshVfxBatchSubmission.cpp
浏览该文件的文档.
Immediate graphics-backend contract for a mesh VFX render queue.
Definition MeshVfxBatchSubmission.h:44
virtual MeshVfxSubmitStatus endBatch()=0
Ends the active batch and flushes backend-local state if needed.
virtual MeshVfxSubmitStatus submitDraw(const MeshVfxBatchedDraw &draw)=0
Submits one ordered instance in the active batch.
virtual MeshVfxSubmitStatus beginBatch(const MeshVfxBatchKey &key)=0
Begins a consecutive group sharing immutable GPU state.
MeshVfxSubmissionReport submit(const MeshVfxRenderQueue &queue, IMeshVfxBatchSink &sink) const
Submits all batches in order until completion or device loss.
Definition MeshVfxBatchSubmission.cpp:14
Definition MeshVfxPackage.h:10
@ DeviceUnavailable
@ DeviceUnavailable
Complete deterministic queue consumed by a graphics backend.
Definition MeshVfxRenderBatch.h:68
std::vector< MeshVfxRenderBatch > batches
Definition MeshVfxRenderBatch.h:69
Counters and terminal state produced by queue execution.
Definition MeshVfxBatchSubmission.h:28
std::uint32_t failedDraws
Definition MeshVfxBatchSubmission.h:34
std::uint32_t skippedDraws
Definition MeshVfxBatchSubmission.h:33
std::uint32_t acceptedDraws
Definition MeshVfxBatchSubmission.h:32
MeshVfxQueueSubmitStatus status
Definition MeshVfxBatchSubmission.h:29
std::uint32_t acceptedBatches
Definition MeshVfxBatchSubmission.h:30
std::uint32_t skippedBatches
Definition MeshVfxBatchSubmission.h:31