(This is the documentation for SDL3, which is the current stable version. SDL2 was the previous version!)
SDL_PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN
Please refer to SDL_CreateWindowWithProperties for details.
CategoryAPI, CategoryAPIMacro