summaryrefslogtreecommitdiff
path: root/src/gpu/effect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/effect.h')
-rw-r--r--src/gpu/effect.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/effect.h b/src/gpu/effect.h
index 50b2d72..f92e3ef 100644
--- a/src/gpu/effect.h
+++ b/src/gpu/effect.h
@@ -105,6 +105,10 @@ public:
void render_frame(float global_time, float beat, float peak,
float aspect_ratio, WGPUSurface surface);
+ // Fast-forwards the simulation (updates & compute) without rendering.
+ // Used for seeking/debugging.
+ void simulate_until(float target_time, float step_rate);
+
void shutdown();
private: