LibCarna Version 3.4.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
LibCarna::base::RenderStageSequence Class Reference

Represents a rendering stages sequence. More...

#include <RenderStageSequence.hpp>

+ Inheritance diagram for LibCarna::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

Definition at line 45 of file RenderStageSequence.hpp.

Member Function Documentation

◆ clearStages()

virtual void LibCarna::base::RenderStageSequence::clearStages ( )
virtual

Deletes all stages from the rendering stages sequence.

Reimplemented in LibCarna::base::FrameRenderer.

◆ findStage()

template<typename RenderStage >
Aggregation< RenderStage > LibCarna::base::RenderStageSequence::findStage ( ) 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.

Definition at line 105 of file RenderStageSequence.hpp.


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