mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
test rendering ui to texture
This commit is contained in:
parent
5d5a0e8932
commit
566aa04cda
6 changed files with 80 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue