mes comandos per a Console

This commit is contained in:
2026-03-28 14:14:33 +01:00
parent 854a5f04b2
commit 71c7b8e553
6 changed files with 47 additions and 3 deletions
+7
View File
@@ -3,6 +3,7 @@
#include <SDL3/SDL.h>
#include <string>
#include <utility>
namespace Rendering {
@@ -105,6 +106,12 @@ namespace Rendering {
virtual void setDownscaleAlgo(int /*algo*/) {}
[[nodiscard]] virtual auto getDownscaleAlgo() const -> int { return 0; }
/**
* @brief Devuelve las dimensiones de la textura de supersampling.
* @return Par (ancho, alto) en píxeles; (0, 0) si SS está desactivado.
*/
[[nodiscard]] virtual auto getSsTextureSize() const -> std::pair<int, int> { return {0, 0}; }
/**
* @brief Verifica si el backend está usando aceleración por hardware
* @return true si usa aceleración (OpenGL/Metal/Vulkan)