21 lines
409 B
C++
21 lines
409 B
C++
#pragma once
|
|
#include "RenderPath.h"
|
|
|
|
namespace Seele
|
|
{
|
|
DECLARE_REF(Scene);
|
|
class SceneRenderPath : public RenderPath
|
|
{
|
|
public:
|
|
SceneRenderPath(Gfx::PGraphics graphics, Gfx::PViewport target);
|
|
virtual ~SceneRenderPath();
|
|
void setTargetScene(PScene scene);
|
|
virtual void init();
|
|
virtual void beginFrame();
|
|
virtual void render();
|
|
virtual void endFrame();
|
|
|
|
protected:
|
|
PScene scene;
|
|
};
|
|
} // namespace Seele
|