Table of Contents

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.

- Linux (Wayland): wl_display for the display.

- Android: EGLDisplay for the display.

EglConfig = 5

- Windows: EGLConfig for the window (ANGLE).

- macOS: EGLConfig for the window (ANGLE).

- Linux (Wayland): EGLConfig for the window.

EglDisplay = 4

- Windows: EGLDisplay for the window (ANGLE).

- macOS: EGLDisplay for the window (ANGLE).

- Linux (Wayland): EGLDisplay for the window.

OpenglContext = 3

OpenGL context (only with the Compatibility renderer):

- Windows: HGLRC for the window (native GL), or EGLContext for the window (ANGLE).

- Linux (X11): GLXContext* for the window.

- Linux (Wayland): EGLContext for the window.

- macOS: NSOpenGLContext* for the window (native GL), or EGLContext 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.

- Linux (Wayland): wl_surface 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 Compatibility renderer).

- macOS: NSView* for the window main view.

- iOS: UIView* for the window main view.