charcoal/CharcoalBuiltin/AutoPrerenderingScene.cpp
elipzer 5db5ce971c Probably BREAKING - Moved everything into proper directories
Also added a copy pre-build even for .h files into the include
directory for charcoal and charcoal-builtin
2018-10-10 23:56:39 -04:00

20 lines
388 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);
}
}
}