nCine::Backends namespace

Platform-specific backends.

Namespaces

namespace OgcDvd
The GameCube disc, mounted read-only as.
namespace OgcMemoryCard
GameCube memory cards, as the devices.
namespace OgcStorage
Storage of the GameCube that is not the disc — the SD cards in a memory-card slot or in the serial port under the console.
namespace Ps2Modules
PS2SDK's IOP modules, carried inside the executable rather than read from storage.
namespace Ps2Storage
Removable block storage on the PlayStation 2 - a USB stick, or an SD card in an MX4SIO adapter.

Classes

class AndroidInputManager
Parses and dispatches Android input events.
class AndroidJniClass
Base class for the JNI wrappers that hold a reference to a Java object.
class AndroidJniClass_Display
Wraps JNI access to android.view.Display.
class AndroidJniClass_DisplayMode
Wraps JNI access to android.view.Display.Mode.
class AndroidJniClass_InputDevice
Wraps JNI access to android.view.InputDevice.
class AndroidJniClass_KeyCharacterMap
Wraps JNI access to android.view.KeyCharacterMap.
class AndroidJniClass_KeyEvent
Wraps JNI access to android.view.KeyEvent.
class AndroidJniClass_MotionRange
Wraps JNI access to android.view.InputDevice.MotionRange.
class AndroidJniClass_Version
Wraps JNI access to android.os.Build.VERSION.
class AndroidJniClass_VibrationEffect
Wraps JNI access to android.os.VibrationEffect.
class AndroidJniClass_Vibrator
Wraps JNI access to android.os.Vibrator.
class AndroidJniClass_VibratorManager
Wraps JNI access to android.os.VibratorManager.
class AndroidJniHelper
Sets up the JNI environment and initializes the wrapper classes.
class AndroidJniWrap_Activity
Wraps JNI access to android.app.Activity.
class AndroidJniWrap_DisplayManager
Wraps JNI access to android.hardware.display.DisplayManager.
class AndroidJniWrap_InputMethodManager
Wraps JNI access to the screen (software) keyboard.
class AndroidJniWrap_Secure
Wraps JNI access to android.provider.Settings.Secure.
class AndroidJoystickState
Information about Android joystick state.
class AndroidKeyboardState
Simulated information about Android keyboard state.
class AndroidKeys
Utility functions to convert between engine key enumerations and Android ones.
class AndroidMouseState
Information about Android mouse state.
class DcPlatform
Dreamcast platform helpers on top of KallistiOS.
class EglGfxDevice
The EGL-based graphics device.
class GlfwAuxiliaryWindow
Window besides the main one made with GLFW, see AuxiliaryWindow.
class GlfwGfxDevice
GLFW-based graphics device.
class GlfwInputManager
GLFW-based input manager.
class GlfwJoystickState
Information about GLFW joystick state.
class GlfwKeyboardState
Information about GLFW keyboard state.
class GlfwKeys
Utility functions to convert between engine key enumerations and GLFW ones.
class GlfwMouseState
Information about GLFW mouse state.
class GlfwScrollEvent
Information about a GLFW scroll event.
class LibretroApplication
Application driven by a libretro frontend.
class LibretroGfxDevice
Graphics device presenting through the libretro frontend.
class LibretroInputManager
Input manager exposing the RetroPad of the frontend as a standard mapped gamepad.
class N64FullMotionVideo
Plays the Nintendo 64's full-motion video cinematics.
class Qt5GfxDevice
Graphics device that wraps a Qt5 Qt5Widget.
class Qt5InputManager
Parses and dispatches Qt5 input events.
class Qt5JoystickState
Information about Qt5 joystick state.
class Qt5KeyboardState
Simulated information about Qt5 keyboard state.
class Qt5Keys
Utility functions to convert between engine key enumerations and Qt5 ones.
class Qt5MouseState
Information about Qt5 mouse state.
class Qt5ScrollEvent
Information about a Qt5 scroll event.
class SdlAuxiliaryWindow
Window besides the main one made with SDL, see AuxiliaryWindow.
class SdlGfxDevice
SDL2-based graphics device.
class SdlInputManager
SDL2-based input manager.
class SdlJoystickState
Information about SDL2 joystick state.
class SdlKeyboardState
Information about SDL2 keyboard state.
class SdlKeys
Utility functions to convert between engine key enumerations and SDL2 ones.
class SdlMouseState
Information about SDL2 mouse state.
class SdlScrollEvent
Information about an SDL2 scroll event.
class UwpGfxDevice
The UWP graphics device.
class UwpInputManager
Class for dispatching UWP input events.
class UwpJoystickState
Information about UWP joystick state.
class UwpKeyboardState
Information about UWP keyboard state.
class UwpMouseState
Information about UWP mouse state.

Functions

auto SetupAuxiliaryWindowWin32(void* hwnd, void* mainHwnd, bool popup, bool passThrough = false) -> bool
Gives a window besides the main one its place among the windows of the system, see AuxiliaryWindow.
void IosAttachToWindowScene(SDL_Window* window)
Attaches the SDL window to the connected UIWindowScene (now or once it connects).
auto theLibretroApplication() -> LibretroApplication&
Returns the application instance driven by the libretro frontend.

Function documentation

bool nCine::Backends::SetupAuxiliaryWindowWin32(void* hwnd, void* mainHwnd, bool popup, bool passThrough = false)

Gives a window besides the main one its place among the windows of the system, see AuxiliaryWindow.

Called while it's still hidden. It's owned by the main window, so it stays in front of it and is minimized with it. A popup isn't on the taskbar and has small rounded corners, other windows are on the taskbar with the icon of windows besides the main one (WINDOW_AUXILIARY_ICON in the resources of the executable, the icon of the main window if there's none). Both get the shadow of the system where it has one. With passThrough, the pointer goes through it to the windows of the application below. Returns true if the system rounds its corners.

void nCine::Backends::IosAttachToWindowScene(SDL_Window* window)

Attaches the SDL window to the connected UIWindowScene (now or once it connects).

SDL2 creates its UIWindow without a scene, which stays invisible under the UIScene life cycle that iOS 27 requires; NCineSceneDelegate (named in Info.plist) hands the scene over.

LibretroApplication& nCine::Backends::theLibretroApplication()

Returns the application instance driven by the libretro frontend.