started working with MRT

This commit is contained in:
2026-02-20 15:58:51 +01:00
parent 55dce5776a
commit 45501f153d
13 changed files with 746 additions and 36 deletions

View File

@@ -13,13 +13,14 @@ namespace TSE::GLFW
public:
FrameBuffer buffer;
RenderTexture(Vector2 v);
RenderTexture(Vector2 v, uint textureCount = 1);
Vector2 size() const override;
void SetSize(Vector2 v) override;
float Width() const override;
float Height() const override;
uint GetTextureId() const override;
uint GetTextureId(uint id) const override;
void Update() override;
void Bind() override;