24 lines
519 B
C++
24 lines
519 B
C++
#pragma once
|
|
|
|
#include "IResizeNotifiable.hpp"
|
|
#include "IRenderTarget.hpp"
|
|
#include "ITexture.hpp"
|
|
|
|
namespace TSE
|
|
{
|
|
class IRenderTextureCreator;
|
|
|
|
class IRenderTexture : public IRenderTarget, public ITexture, public IResizeNotifiable
|
|
{
|
|
public:
|
|
inline static IRenderTextureCreator* factory = nullptr;
|
|
virtual void SetSize(Vector2 v) = 0;
|
|
};
|
|
|
|
class IRenderTextureCreator
|
|
{
|
|
public:
|
|
virtual IRenderTexture* CreateTextureHeap(Vector2 v) = 0;
|
|
};
|
|
} // namespace TSE
|