19 if (_render_pipeline ==
nullptr) {
20 make_render_pipeline();
22 return _render_pipeline;
41#ifdef THREADED_PIPELINE
47get_num_cyclers()
const {
53#ifdef THREADED_PIPELINE
60get_num_dirty_cyclers()
const {
62 return _num_dirty_cyclers;
A lightweight C++ object whose constructor calls acquire() and whose destructor calls release() on a ...
This class manages a staged pipeline of data, for instance the render pipeline, so that each stage of...
int get_num_stages() const
Returns the number of stages required for the pipeline.
static Pipeline * get_render_pipeline()
Returns a pointer to the global render pipeline.
void set_num_stages(int num_stages)
Specifies the number of stages required for the pipeline.
void set_min_stages(int min_stages)
Ensures that at least the indicated number of stages are in the pipeline.