NkPlatformDetect.h Détection complète de plateforme et définition des macros.
Inclure
#include "NKPlatform/NkPlatformDetect.h"
Lier (Jenga)
nkentseudependson(["NKPlatform"])
Macros · 196 Détail des membres NKENTSEU_FORCE_WINDOWING_XCB_ONLY # macro option à définir par toi
#define NKENTSEU_FORCE_WINDOWING_XCB_ONLY
Forcer l'utilisation de XCB uniquement
Si défini, désactive toutes les autres implémentations (Xlib, Wayland) et force XCB. Les en-têtes XCB doivent être disponibles.
Usage : #define NKENTSEU_FORCE_WINDOWING_XCB_ONLY #include "NkPlatformDetect.h"
NKENTSEU_FORCE_WINDOWING_XLIB_ONLY # macro option à définir par toi
#define NKENTSEU_FORCE_WINDOWING_XLIB_ONLY
Forcer l'utilisation de Xlib uniquement
Si défini, désactive toutes les autres implémentations (XCB, Wayland) et force Xlib. Les en-têtes Xlib doivent être disponibles.
Usage : #define NKENTSEU_FORCE_WINDOWING_XLIB_ONLY #include "NkPlatformDetect.h"
NKENTSEU_FORCE_WINDOWING_NOOP_ONLY # macro option à définir par toi
#define NKENTSEU_FORCE_WINDOWING_NOOP_ONLY
Forcer le backend headless/noop uniquement
Si défini, aucune implémentation X11/Wayland n'est activée. Le backend de fenêtre noop/headless doit être utilisé. Utile pour les serveurs ou les tests sans interface graphique.
Usage : #define NKENTSEU_FORCE_WINDOWING_NOOP_ONLY #include "NkPlatformDetect.h"
NKENTSEU_WINDOWING_XCB # macro
#define NKENTSEU_WINDOWING_XCB
Macro de détection du système de fenêtres XCB
XCB (X11 Core Protocol) – Remplaçant moderne de Xlib. Détecté via compilation avec libxcb. Plus performant et asynchrone que Xlib.
NKENTSEU_WINDOWING_XLIB # macro
#define NKENTSEU_WINDOWING_XLIB
Macro de détection du système de fenêtres Xlib
Xlib – Bibliothèque client X11 historique (legacy). Détecté via compilation avec libx11. Plus simple d'utilisation mais moins performant que XCB.
NKENTSEU_WINDOWING_WAYLAND # macro
#define NKENTSEU_WINDOWING_WAYLAND
Macro de détection du système de fenêtres Wayland
Wayland – Nouveau protocole d'affichage remplaçant X11. Détecté via compilation avec libwayland-client. Architecture plus moderne avec meilleure sécurité et performance.
NKENTSEU_WINDOWING_X11 # macro
#define NKENTSEU_WINDOWING_X11
NKENTSEU_WINDOWING_PREFERRED # macro
#define NKENTSEU_WINDOWING_PREFERRED
NKENTSEU_WINDOWS_ONLY # macro
#define NKENTSEU_WINDOWS_ONLY (...)
NKENTSEU_NOT_WINDOWS # macro
#define NKENTSEU_NOT_WINDOWS (...)
NKENTSEU_LINUX_ONLY # macro
#define NKENTSEU_LINUX_ONLY (...)
#define NKENTSEU_NOT_LINUX (...)
NKENTSEU_MACOS_ONLY # macro
#define NKENTSEU_MACOS_ONLY (...)
#define NKENTSEU_NOT_MACOS (...)
#define NKENTSEU_IOS_ONLY (...)
#define NKENTSEU_NOT_IOS (...)
NKENTSEU_ANDROID_ONLY # macro
#define NKENTSEU_ANDROID_ONLY (...)
NKENTSEU_NOT_ANDROID # macro
#define NKENTSEU_NOT_ANDROID (...)
#define NKENTSEU_TVOS_ONLY (...)
#define NKENTSEU_NOT_TVOS (...)
NKENTSEU_WATCHOS_ONLY # macro
#define NKENTSEU_WATCHOS_ONLY (...)
NKENTSEU_NOT_WATCHOS # macro
#define NKENTSEU_NOT_WATCHOS (...)
NKENTSEU_VISIONOS_ONLY # macro
#define NKENTSEU_VISIONOS_ONLY (...)
NKENTSEU_NOT_VISIONOS # macro
#define NKENTSEU_NOT_VISIONOS (...)
NKENTSEU_IPADOS_ONLY # macro
#define NKENTSEU_IPADOS_ONLY (...)
NKENTSEU_NOT_IPADOS # macro
#define NKENTSEU_NOT_IPADOS (...)
NKENTSEU_FREEBSD_ONLY # macro
#define NKENTSEU_FREEBSD_ONLY (...)
NKENTSEU_NOT_FREEBSD # macro
#define NKENTSEU_NOT_FREEBSD (...)
NKENTSEU_HARMONYOS_ONLY # macro
#define NKENTSEU_HARMONYOS_ONLY (...)
NKENTSEU_NOT_HARMONYOS # macro
#define NKENTSEU_NOT_HARMONYOS (...)
#define NKENTSEU_PS5_ONLY (...)
#define NKENTSEU_NOT_PS5 (...)
#define NKENTSEU_PS4_ONLY (...)
#define NKENTSEU_NOT_PS4 (...)
#define NKENTSEU_PS3_ONLY (...)
#define NKENTSEU_NOT_PS3 (...)
#define NKENTSEU_PS2_ONLY (...)
#define NKENTSEU_NOT_PS2 (...)
#define NKENTSEU_PS1_ONLY (...)
#define NKENTSEU_NOT_PS1 (...)
#define NKENTSEU_PSP_ONLY (...)
#define NKENTSEU_NOT_PSP (...)
NKENTSEU_PSVITA_ONLY # macro
#define NKENTSEU_PSVITA_ONLY (...)
NKENTSEU_NOT_PSVITA # macro
#define NKENTSEU_NOT_PSVITA (...)
NKENTSEU_XBOX_SERIES_ONLY # macro
#define NKENTSEU_XBOX_SERIES_ONLY (...)
NKENTSEU_NOT_XBOX_SERIES # macro
#define NKENTSEU_NOT_XBOX_SERIES (...)
NKENTSEU_XBOXONE_ONLY # macro
#define NKENTSEU_XBOXONE_ONLY (...)
NKENTSEU_NOT_XBOXONE # macro
#define NKENTSEU_NOT_XBOXONE (...)
NKENTSEU_XBOX360_ONLY # macro
#define NKENTSEU_XBOX360_ONLY (...)
NKENTSEU_NOT_XBOX360 # macro
#define NKENTSEU_NOT_XBOX360 (...)
NKENTSEU_XBOX_ORIGINAL_ONLY # macro
#define NKENTSEU_XBOX_ORIGINAL_ONLY (...)
NKENTSEU_NOT_XBOX_ORIGINAL # macro
#define NKENTSEU_NOT_XBOX_ORIGINAL (...)
NKENTSEU_SWITCH_ONLY # macro
#define NKENTSEU_SWITCH_ONLY (...)
NKENTSEU_NOT_SWITCH # macro
#define NKENTSEU_NOT_SWITCH (...)
#define NKENTSEU_WIIU_ONLY (...)
#define NKENTSEU_NOT_WIIU (...)
#define NKENTSEU_WII_ONLY (...)
#define NKENTSEU_NOT_WII (...)
NKENTSEU_GAMECUBE_ONLY # macro
#define NKENTSEU_GAMECUBE_ONLY (...)
NKENTSEU_NOT_GAMECUBE # macro
#define NKENTSEU_NOT_GAMECUBE (...)
#define NKENTSEU_N64_ONLY (...)
#define NKENTSEU_NOT_N64 (...)
#define NKENTSEU_3DS_ONLY (...)
#define NKENTSEU_NOT_3DS (...)
#define NKENTSEU_NDS_ONLY (...)
#define NKENTSEU_NOT_NDS (...)
#define NKENTSEU_GBA_ONLY (...)
#define NKENTSEU_NOT_GBA (...)
NKENTSEU_GAMEBOY_ONLY # macro
#define NKENTSEU_GAMEBOY_ONLY (...)
NKENTSEU_NOT_GAMEBOY # macro
#define NKENTSEU_NOT_GAMEBOY (...)
NKENTSEU_DREAMCAST_ONLY # macro
#define NKENTSEU_DREAMCAST_ONLY (...)
NKENTSEU_NOT_DREAMCAST # macro
#define NKENTSEU_NOT_DREAMCAST (...)
NKENTSEU_SATURN_ONLY # macro
#define NKENTSEU_SATURN_ONLY (...)
NKENTSEU_NOT_SATURN # macro
#define NKENTSEU_NOT_SATURN (...)
NKENTSEU_GENESIS_ONLY # macro
#define NKENTSEU_GENESIS_ONLY (...)
NKENTSEU_NOT_GENESIS # macro
#define NKENTSEU_NOT_GENESIS (...)
#define NKENTSEU_WEB_ONLY (...)
#define NKENTSEU_NOT_WEB (...)
NKENTSEU_EMSCRIPTEN_ONLY # macro
#define NKENTSEU_EMSCRIPTEN_ONLY (...)
NKENTSEU_NOT_EMSCRIPTEN # macro
#define NKENTSEU_NOT_EMSCRIPTEN (...)
NKENTSEU_ESP32_ONLY # macro
#define NKENTSEU_ESP32_ONLY (...)
#define NKENTSEU_NOT_ESP32 (...)
NKENTSEU_ARDUINO_ONLY # macro
#define NKENTSEU_ARDUINO_ONLY (...)
NKENTSEU_NOT_ARDUINO # macro
#define NKENTSEU_NOT_ARDUINO (...)
NKENTSEU_STM32_ONLY # macro
#define NKENTSEU_STM32_ONLY (...)
#define NKENTSEU_NOT_STM32 (...)
NKENTSEU_RASPBERRY_PI_ONLY # macro
#define NKENTSEU_RASPBERRY_PI_ONLY (...)
NKENTSEU_NOT_RASPBERRY_PI # macro
#define NKENTSEU_NOT_RASPBERRY_PI (...)
NKENTSEU_STEAM_DECK_ONLY # macro
#define NKENTSEU_STEAM_DECK_ONLY (...)
NKENTSEU_NOT_STEAM_DECK # macro
#define NKENTSEU_NOT_STEAM_DECK (...)
#define NKENTSEU_XCB_ONLY (...)
#define NKENTSEU_NOT_XCB (...)
#define NKENTSEU_XLIB_ONLY (...)
#define NKENTSEU_NOT_XLIB (...)
NKENTSEU_WAYLAND_ONLY # macro
#define NKENTSEU_WAYLAND_ONLY (...)
NKENTSEU_NOT_WAYLAND # macro
#define NKENTSEU_NOT_WAYLAND (...)
#define NKENTSEU_X11_ONLY (...)
#define NKENTSEU_NOT_X11 (...)
NKENTSEU_DESKTOP_ONLY # macro
#define NKENTSEU_DESKTOP_ONLY (...)
NKENTSEU_NOT_DESKTOP # macro
#define NKENTSEU_NOT_DESKTOP (...)
NKENTSEU_MOBILE_ONLY # macro
#define NKENTSEU_MOBILE_ONLY (...)
NKENTSEU_NOT_MOBILE # macro
#define NKENTSEU_NOT_MOBILE (...)
NKENTSEU_CONSOLE_ONLY # macro
#define NKENTSEU_CONSOLE_ONLY (...)
NKENTSEU_NOT_CONSOLE # macro
#define NKENTSEU_NOT_CONSOLE (...)
NKENTSEU_HANDHELD_ONLY # macro
#define NKENTSEU_HANDHELD_ONLY (...)
NKENTSEU_NOT_HANDHELD # macro
#define NKENTSEU_NOT_HANDHELD (...)
NKENTSEU_EMBEDDED_ONLY # macro
#define NKENTSEU_EMBEDDED_ONLY (...)
NKENTSEU_NOT_EMBEDDED # macro
#define NKENTSEU_NOT_EMBEDDED (...)
#define NKENTSEU_UNIX_ONLY (...)
#define NKENTSEU_NOT_UNIX (...)
NKENTSEU_PLAYSTATION_ONLY # macro
#define NKENTSEU_PLAYSTATION_ONLY (...)
NKENTSEU_NOT_PLAYSTATION # macro
#define NKENTSEU_NOT_PLAYSTATION (...)
#define NKENTSEU_XBOX_ONLY (...)
#define NKENTSEU_NOT_XBOX (...)
NKENTSEU_NINTENDO_ONLY # macro
#define NKENTSEU_NINTENDO_ONLY (...)
NKENTSEU_NOT_NINTENDO # macro
#define NKENTSEU_NOT_NINTENDO (...)
© Rihen Générée par jenga docs depuis l'étiquette v0.1.0-beta.11 Cette page en Markdown Signaler un problème