VIDEO_WINDOW_SHARE_PIXEL_FORMAT
Description:
[ CCode ( cname = "SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT" ) ]
public const string VIDEO_WINDOW_SHARE_PIXEL_FORMAT
A variable that is the address of another SDL.Video.Window (as a hex string formatted with "%p"
If this hint is set before SDL.Video.Window.Window.from_native and the Window it is set to has WINDOW_OPENGL set (and running on WGL only, currently), then two things will occur on the newly created Window:
1. Its pixel format will be set to the same pixel format as this Window. This is needed for example when sharing an OpenGL context across multiple windows.
2. The flag WINDOW_OPENGL will be set on the new window so it can be used for OpenGL rendering.
This variable can be set to the following values:
The address (as a string "%p") of the Window that new windows created with CreateWindowFrom () should share a pixel format with.