test rendering ui to texture

This commit is contained in:
MihailRis 2026-02-03 23:13:07 +03:00
parent 5d5a0e8932
commit 566aa04cda
6 changed files with 80 additions and 1 deletions

View file

@ -89,6 +89,10 @@ Texture* Framebuffer::getTexture() const {
return texture.get();
}
std::shared_ptr<Texture> Framebuffer::getSharedTexture() const {
return texture;
}
uint Framebuffer::getWidth() const {
return width;
}