charcoal/charcoal-builtin/AutoPrerenderingScene.cpp
2022-08-01 19:07:37 -05:00

20 lines
407 B
C++

#include "AutoPrerenderingScene.h"
namespace charcoal
{
namespace builtin
{
void AutoPrerenderingScene::prerender()
{
for (auto iter = m_prerenderables.begin(); iter != m_prerenderables.end(); ++iter)
{
(*iter)->prerender();
}
}
void AutoPrerenderingScene::add_prerenderable(Prerenderable* prerenderable)
{
m_prerenderables.push_back(prerenderable);
}
}
}