From 77a534371433054384d213922a2e8c55f8a69ad6 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 20 Oct 2021 15:31:22 +0300 Subject: [PATCH] Add functions to retrieve steps and postprocessors from Sequence --- source/render/sequence.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/render/sequence.h b/source/render/sequence.h index f51d28b9..dd9fd884 100644 --- a/source/render/sequence.h +++ b/source/render/sequence.h @@ -97,9 +97,13 @@ public: Renderable multiple times. */ Step &add_step(Tag, Renderable &); + const std::vector &get_steps() const { return steps; } + /** Adds a postprocessor to the sequence. */ void add_postprocessor(PostProcessor &); + const std::vector &get_postprocessors() const { return postproc; } + /** Adds an owned object, which will be deleted together with the sequence. */ template void add_owned(T *p) -- 2.45.2