/
OS_HandleType.hx
58 lines (40 loc) · 1.08 KB
/
OS_HandleType.hx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// Automatically generated Godot externs: DO NOT EDIT
// MIT licensed, see LICENSE.md
package godot;
@:native("Godot.OS.HandleType")
@:csNative
extern enum OS_HandleType {
/**
Application handle:
- Windows: `HINSTANCE` of the application
- MacOS: `NSApplication*` of the application (not yet implemented)
- Android: `JNIEnv*` of the application (not yet implemented)
**/
ApplicationHandle;
/**
Display handle:
- Linux: `X11::Display*` for the display
**/
DisplayHandle;
/**
Window handle:
- Windows: `HWND` of the main window
- Linux: `X11::Window*` of the main window
- MacOS: `NSWindow*` of the main window (not yet implemented)
- Android: `jObject` the main android activity (not yet implemented)
**/
WindowHandle;
/**
Window view:
- Windows: `HDC` of the main window drawing context
- MacOS: `NSView*` of the main windows view (not yet implemented)
**/
WindowView;
/**
OpenGL Context:
- Windows: `HGLRC`
- Linux: `X11::GLXContext`
- MacOS: `NSOpenGLContext*` (not yet implemented)
**/
OpenglContext;
}