Enum DisplayServer.HandleType
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum DisplayServer.HandleType : long
Fields
DisplayHandle = 0
Display handle:
- Linux (X11):
X11::Display*
for the display.- Android:
EGLDisplay
for the display.OpenglContext = 3
OpenGL context (only with the GL Compatibility renderer):
- Windows:
HGLRC
for the window (native GL), orEGLContext
for the window (ANGLE).- Linux:
GLXContext*
for the window.- macOS:
NSOpenGLContext*
for the window (native GL), orEGLContext
for the window (ANGLE).- Android:
EGLContext
for the window.WindowHandle = 1
Window handle:
- Windows:
HWND
for the window.- Linux (X11):
X11::Window*
for the window.- macOS:
NSWindow*
for the window.- iOS:
UIViewController*
for the view controller.- Android:
jObject
for the activity.WindowView = 2
Window view:
- Windows:
HDC
for the window (only with the GL Compatibility renderer).- macOS:
NSView*
for the window main view.- iOS:
UIView*
for the window main view.