diff options
| author | skal <pascal.massimino@gmail.com> | 2026-01-31 15:57:00 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-01-31 15:57:00 +0100 |
| commit | 9a6cd87164995df93cf3df410ce37721910ce240 (patch) | |
| tree | 04bc3f733ca916ad13ea6304069f63cdacec5399 /src/gpu/demo_effects.h | |
| parent | 1016d65d4b5bf7cbd05bba4cf79dc2ce172c9fad (diff) | |
feat: Implement Sequence Compiler for data-driven choreography
Adds a 'seq_compiler' tool that converts a text-based timeline (assets/demo.seq) into a generated C++ file. This allows editing effect sequences and timing without modifying engine code. Replaces manual sequence creation with a generated 'LoadTimeline' function.
Diffstat (limited to 'src/gpu/demo_effects.h')
| -rw-r--r-- | src/gpu/demo_effects.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gpu/demo_effects.h b/src/gpu/demo_effects.h index 81321d9..befb1fe 100644 --- a/src/gpu/demo_effects.h +++ b/src/gpu/demo_effects.h @@ -34,7 +34,6 @@ private: GpuBuffer uniforms_; }; -// Factory -std::shared_ptr<Sequence> create_demo_sequence(WGPUDevice device, - WGPUQueue queue, - WGPUTextureFormat format); +// Auto-generated function to populate the timeline +void LoadTimeline(MainSequence &main_seq, WGPUDevice device, WGPUQueue queue, + WGPUTextureFormat format); |
