void Sequence::setup_frame(Renderer &renderer)
{
- for(StepList::const_iterator i=steps.begin(); i!=steps.end(); ++i)
+ for(vector<Step>::const_iterator i=steps.begin(); i!=steps.end(); ++i)
if(Renderable *renderable = i->get_renderable())
renderable->setup_frame(renderer);
for(vector<Slot>::const_iterator i=renderables.begin(); i!=renderables.end(); ++i)
void Sequence::finish_frame()
{
- for(StepList::const_iterator i=steps.begin(); i!=steps.end(); ++i)
+ for(vector<Step>::const_iterator i=steps.begin(); i!=steps.end(); ++i)
if(Renderable *renderable = i->get_renderable())
renderable->finish_frame();
for(vector<Slot>::const_iterator i=renderables.begin(); i!=renderables.end(); ++i)
fbo.clear();
}
- for(StepList::const_iterator i=steps.begin(); i!=steps.end(); ++i)
+ for(vector<Step>::const_iterator i=steps.begin(); i!=steps.end(); ++i)
{
if(const DepthTest *dt = i->get_depth_test())
dt->bind();
Slot(Renderable *);
};
- typedef std::list<Step> StepList;
-
- StepList steps;
+ std::vector<Step> steps;
const Camera *camera;
std::vector<Slot> renderables;
std::vector<RefPtr<PostProcessor> > postproc;