Files
aee/source/core/rendering/overlay.hpp
Sergio Valor d4fc7c0ee8 - renderInfo
- fix: no guardava el preset actual
2026-04-04 20:14:11 +02:00

19 lines
529 B
C++

#pragma once
#include <SDL3/SDL.h>
namespace Overlay {
void init();
void destroy();
// Pinta l'overlay sobre el buffer ARGB — cridar abans de presentar
void render(Uint32* pixel_data);
// Mostra una notificació amb animació slide-in/stay/slide-out
void showNotification(const char* text, float duration_seconds = 2.0F);
// Activa/desactiva la info de renderitzat (FPS, driver, shader, preset)
void toggleRenderInfo();
void setRenderInfoText(const char* text);
} // namespace Overlay