Enum DisplayServer.HandleType
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum DisplayServer.HandleType : long
Fields
DisplayHandle = 0Display handle:
- Linux (X11):
X11::Display*for the display.- Linux (Wayland):
wl_displayfor the display.- Android:
EGLDisplayfor the display.EglConfig = 5- Windows:
EGLConfigfor the window (ANGLE).- macOS:
EGLConfigfor the window (ANGLE).- Linux (Wayland):
EGLConfigfor the window.EglDisplay = 4- Windows:
EGLDisplayfor the window (ANGLE).- macOS:
EGLDisplayfor the window (ANGLE).- Linux (Wayland):
EGLDisplayfor the window.OpenglContext = 3OpenGL context (only with the Compatibility renderer):
- Windows:
HGLRCfor the window (native GL), orEGLContextfor the window (ANGLE).- Linux (X11):
GLXContext*for the window.- Linux (Wayland):
EGLContextfor the window.- macOS:
NSOpenGLContext*for the window (native GL), orEGLContextfor the window (ANGLE).- Android:
EGLContextfor the window.WindowHandle = 1Window handle:
- Windows:
HWNDfor the window.- Linux (X11):
X11::Window*for the window.- Linux (Wayland):
wl_surfacefor the window.- macOS:
NSWindow*for the window.- iOS:
UIViewController*for the view controller.- Android:
jObjectfor the activity.WindowView = 2Window view:
- Windows:
HDCfor the window (only with the Compatibility renderer).- macOS:
NSView*for the window main view.- iOS:
UIView*for the window main view.