Cap UI overlay rate
No need to update each frame, esp. for samples with high frame rates
This commit is contained in:
parent
a3a75219b6
commit
9a8710a57c
2 changed files with 10 additions and 1 deletions
|
|
@ -65,6 +65,7 @@ namespace vks
|
|||
bool visible{ true };
|
||||
bool updated{ false };
|
||||
float scale{ 1.0f };
|
||||
float updateTimer{ 0.0f };
|
||||
|
||||
UIOverlay();
|
||||
~UIOverlay();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue