Add the ability to limit-rate the dashboard updating (#3527)

Co-authored-by: Emma Broman <emma.broman@liu.se>
This commit is contained in:
Alexander Bock
2025-02-18 16:49:47 +01:00
committed by GitHub
parent a9beb476af
commit 8cb3ce8b94
35 changed files with 206 additions and 280 deletions

View File

@@ -123,6 +123,8 @@ DashboardItemInstruments::DashboardItemInstruments(const ghoul::Dictionary& dict
addProperty(_activeFlash);
}
void DashboardItemInstruments::update() {}
void DashboardItemInstruments::render(glm::vec2& penPosition) {
ZoneScoped;

View File

@@ -38,6 +38,7 @@ public:
explicit DashboardItemInstruments(const ghoul::Dictionary& dictionary);
~DashboardItemInstruments() override = default;
void update() override;
void render(glm::vec2& penPosition) override;
glm::vec2 size() const override;