Carna  Version 3.3.2
Public Member Functions | Protected Member Functions | List of all members
Carna::base::RenderStageSequence Class Reference

Represents a rendering stages sequence. More...

#include <RenderStageSequence.h>

+ Inheritance diagram for Carna::base::RenderStageSequence:

Public Member Functions

 RenderStageSequence ()
 Instantiates.
 
virtual ~RenderStageSequence ()
 Deletes all stages contained by the sequence.
 
std::size_t stages () const
 Tells number of stages contained by the sequence.
 
void appendStage (RenderStage *stage)
 Appends stage to the rendering stages sequence.
 
virtual void clearStages ()
 Deletes all stages from the rendering stages sequence.
 
RenderStagestageAt (std::size_t position) const
 References the stage at position within the rendering stages sequence.
 
template<typename RenderStage >
Aggregation< RenderStagefindStage () const
 References the first RenderStage within the rendering stages sequence. This method performs a linear search. Returns Aggregation::NULL_PTR if RenderStage is not found withing hte rendering stages sequence.
 

Protected Member Functions

void releaseStages ()
 Assumes that the ownership over all stages has been taken over by someone else. Clears the stages sequence without deleting the stages.
 

Detailed Description

Represents a rendering stages sequence.

Author
Leonid Kostrykin
Date
2.4.15

Definition at line 42 of file RenderStageSequence.h.


The documentation for this class was generated from the following file: