2020-03-05 11:43:38 +01:00
|
|
|
#pragma once
|
|
|
|
|
#include "RenderPath.h"
|
|
|
|
|
|
|
|
|
|
namespace Seele
|
|
|
|
|
{
|
2020-05-05 01:51:13 +02:00
|
|
|
DECLARE_REF(Scene);
|
2020-04-12 15:47:19 +02:00
|
|
|
class SceneRenderPath : public RenderPath
|
|
|
|
|
{
|
|
|
|
|
public:
|
2020-04-15 02:03:56 +02:00
|
|
|
SceneRenderPath(Gfx::PGraphics graphics, Gfx::PViewport target);
|
2020-04-12 15:47:19 +02:00
|
|
|
virtual ~SceneRenderPath();
|
2020-06-02 11:46:18 +02:00
|
|
|
void setTargetScene(PScene scene);
|
|
|
|
|
virtual void init();
|
|
|
|
|
virtual void beginFrame();
|
|
|
|
|
virtual void render();
|
|
|
|
|
virtual void endFrame();
|
2020-05-05 01:51:13 +02:00
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
PScene scene;
|
2020-04-12 15:47:19 +02:00
|
|
|
};
|
|
|
|
|
} // namespace Seele
|