载入中...
搜索中...
未找到
ParticleOffscreen.h
浏览该文件的文档.
66class EVENGINE_API_ORCHESTRATION ParticleEmitterOffscreenPresenter final : public IParticleOffscreenPresenter {
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:314
Deterministic owning value tree shared by authoring hosts.
Definition EditingValue.h:19
Definition Graphics.h:125
Concrete Graphics/Canvas preview bridge with revision-safe artifact storage.
Definition OffscreenPreview.h:47
std::function< graphics::Texture *(const std::string &asset)> TextureResolver
Definition ParticleGraph.h:65
Presentation boundary for an isolated, compiled particle preview.
Definition ParticleOffscreen.h:20
virtual ~IParticleOffscreenPresenter()=default
Releases IParticleOffscreenPresenter resources.
virtual Result< void > draw(const ParticleOffscreenPreviewRequest &request, const ParticleGraphCompileResult &compiled, const ParticleGraphPreviewResult &estimate, graphics::Graphics *graphics, graphics::Canvas *canvas)=0
Simulate and draw only the requested graph into the active Canvas.
Real ParticleEmitter presenter with deterministic stepping and isolated drawing.
Definition ParticleOffscreen.h:66
ParticleEmitterOffscreenPresenter(TextureResolver textures={})
Particle emitter offscreen presenter.
Definition ParticleOffscreen.h:70
ParticleGraphRuntimeBuilder::TextureResolver TextureResolver
Definition ParticleOffscreen.h:68
Compiles, budget-checks and rasterizes particle graph previews offscreen.
Definition ParticleOffscreen.h:44
ParticleOffscreenPreviewService(GraphicsOffscreenPreviewService *previews, DrawCallback draw)
Particle offscreen preview service.
Definition ParticleOffscreen.h:49
std::function< Result< void >(const ParticleGraphCompileResult &, const ParticleGraphPreviewResult &, graphics::Graphics *, graphics::Canvas *)> DrawCallback
Definition ParticleOffscreen.h:47
ParticleOffscreenPreviewService(GraphicsOffscreenPreviewService *previews, IParticleOffscreenPresenter *presenter)
Particle offscreen preview service.
Definition ParticleOffscreen.h:53
Definition ParticleGraph.cpp:9
Definition Container.h:602
Immutable graph document value sent to a domain compiler.
Definition EditingGraph.h:40
In-memory artifact metadata returned after synchronous readback.
Definition OffscreenPreview.h:38
Immutable request for one isolated Canvas render and CPU readback.
Definition OffscreenPreview.h:29
Validated particle configuration compiled from a module graph.
Definition ParticleGraph.h:14
Deterministic, revision-tagged particle preview estimate.
Definition ParticleGraph.h:22
Revision-bound particle scrub preview request.
Definition ParticleOffscreen.h:33
StableId previewId
Definition ParticleOffscreen.h:34
double fixedStep
Definition ParticleOffscreen.h:39
int width
Definition ParticleOffscreen.h:36
int particleBudget
Definition ParticleOffscreen.h:40
double seconds
Definition ParticleOffscreen.h:38
int height
Definition ParticleOffscreen.h:37
GraphDocumentData graph
Definition ParticleOffscreen.h:35