harrand / Topaz

C++23 Game Engine
https://harrand.github.io/Topaz/
MIT License
33 stars 3 forks source link

GUI Panel not dynamically resizeable #3

Closed harrand closed 7 years ago

harrand commented 7 years ago

GUI Panel dimensions can be set in constructor but cannot be resized dynamically after construction. Solutions would either be to edit the mesh and re-upload (maybe with stream draw) to VRAM which is slow, or find a way to apply uniforms to the shader without knowing the program-handle which would be nice and fast but also hard as nails to achieve elegantly

harrand commented 7 years ago

Fixed in commit 3369f8d29ca012f5b3d96bd984bf64cb0cb56d49