19 if (_render_pipeline ==
nullptr) {
20 make_render_pipeline();
22 return _render_pipeline;
41 #ifdef THREADED_PIPELINE 47 get_num_cyclers()
const {
51 #endif // THREADED_PIPELINE 53 #ifdef THREADED_PIPELINE 60 get_num_dirty_cyclers()
const {
62 return _num_dirty_cyclers;
64 #endif // THREADED_PIPELINE void set_num_stages(int num_stages)
Specifies the number of stages required for the pipeline.
A lightweight C++ object whose constructor calls acquire() and whose destructor calls release() on a ...
static Pipeline * get_render_pipeline()
Returns a pointer to the global render pipeline.
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.
void set_min_stages(int min_stages)
Ensures that at least the indicated number of stages are in the pipeline.