From: Mikko Rasa Date: Wed, 20 Oct 2021 12:31:22 +0000 (+0300) Subject: Add functions to retrieve steps and postprocessors from Sequence X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=77a534371433054384d213922a2e8c55f8a69ad6 Add functions to retrieve steps and postprocessors from Sequence --- 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)