载入中...
搜索中...
未找到
ParticleBakePresentation.h
浏览该文件的文档.
1#pragma once
2#include <memory>
3#include <span>
4#include "common/Export.h"
5#include "common/Identity.h"
6#include "common/Result.h"
7namespace eve::graphics {
8class Graphics;
9struct DrawItem2D;
10} // namespace eve::graphics
11namespace eve::physics {
12class ParticleTrack;
13class BakedParticlePlayback;
27public:
32 [[nodiscard]] static Result<std::unique_ptr<ParticleBakePresentation>> prepare(ParticleTrack track);
48
57 std::span<const ParticleBakeMaterial> materials);
58
59private:
62 const graphics::DrawItem2D* uniformMaterial,
63 std::span<const ParticleBakeMaterial> materials);
64 struct Impl;
65 explicit ParticleBakePresentation(std::unique_ptr<Impl> impl);
66 std::unique_ptr<Impl> impl_;
67};
68} // namespace eve::physics
void * impl
#define EVENGINE_API_WORLD
Definition Export.h:109
Strong identity values shared by persistence, content and logical-name APIs.
MeshVfxBatchedDraw draw
std::array< uint32_t, 16 > material
Move-only, checked operation results for the common layer.
Graphics * graphics
Move-only operation result carrying either a value or Status.
Definition Result.h:176
Id128 public API.
Definition Identity.h:111
Independent clock and placement over a shared immutable particle clip. @ownership Owns reusable scrat...
Prepared sprite-batch consumer of recorded particles, independent of source emitters....
ParticleBakePresentation & operator=(const ParticleBakePresentation &)=delete
ParticleBakePresentation(const ParticleBakePresentation &)=delete
Immutable particle trajectories independent of live simulation, ECS and graphics resources....
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
Optional physics backend for vehicle mobility and body attach.
Definition Climbing.h:36
Shared 2D draw queue item (sprites + tiles).
Definition DrawItem2D.h:19
One borrowed material template for an emitter-session identity. @ownership Material is borrowed for a...