Add IrrlichtDevice::isWindowVisible for Android

This commit is contained in:
grorp
2024-01-04 16:48:35 +01:00
committed by GitHub
parent 03dd8b0336
commit 54b82aad26
3 changed files with 11 additions and 0 deletions

View File

@ -177,6 +177,10 @@ namespace irr
/** \return True if window is fullscreen. */
virtual bool isFullscreen() const = 0;
//! Checks if the window could possibly be visible.
//! Currently, this only returns false when the app is paused on Android.
virtual bool isWindowVisible() const { return true; };
//! Get the current color format of the window
/** \return Color format of the window. */
virtual video::ECOLOR_FORMAT getColorFormat() const = 0;