first commit of some basics
This commit is contained in:
25
TSE_Core/src/interfaces/IWindow.hpp
Normal file
25
TSE_Core/src/interfaces/IWindow.hpp
Normal file
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
#include "IRenderTarget.hpp"
|
||||
#include "Types.hpp"
|
||||
|
||||
namespace TSE
|
||||
{
|
||||
class IWindow : public IRenderTarget
|
||||
{
|
||||
public:
|
||||
static IWindow* lastWindow;
|
||||
string title;
|
||||
|
||||
protected:
|
||||
virtual bool Init() = 0;
|
||||
public:
|
||||
virtual void Clear() const = 0;
|
||||
virtual void Update() const = 0;
|
||||
virtual void ClearDepthBuffer() const = 0;
|
||||
virtual bool ShouldClose() const = 0;
|
||||
|
||||
bool BaseInit() const;
|
||||
~IWindow();
|
||||
};
|
||||
} // namespace TSE
|
||||
Reference in New Issue
Block a user