Files
Seele/src/Engine/Graphics/RenderPath.h
T

22 lines
444 B
C++
Raw Normal View History

2020-03-02 19:07:49 +01:00
#pragma once
#include "Graphics.h"
namespace Seele
{
2020-04-12 15:47:19 +02:00
//A renderpath is a general Renderer for a view.
class RenderPath
{
public:
RenderPath(Gfx::PGraphics graphics);
virtual ~RenderPath();
virtual void applyArea(Rect area) = 0;
virtual void init() = 0;
virtual void beginFrame() = 0;
virtual void render() = 0;
virtual void endFrame() = 0;
protected:
Gfx::PGraphics graphics;
Rect area;
};
DEFINE_REF(RenderPath);
} // namespace Seele