2022-08-02 00:07:37 +00:00
|
|
|
#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);
|
|
|
|
}
|
|
|
|
}
|
2018-09-13 23:21:34 +00:00
|
|
|
}
|