Ejemplo n.º 1
0
 public override bool Equals(object obj)
 {
     if (obj is WindowPtr)
     {
         WindowPtr other = (WindowPtr)obj;
         return(this == other);
     }
     return(false);
 }
Ejemplo n.º 2
0
 internal static extern int glfwGetWindowAttrib(WindowPtr window, int param);
Ejemplo n.º 3
0
		internal static extern void glfwHideWindow(WindowPtr window);
Ejemplo n.º 4
0
		internal static extern void glfwSetWindowSize(WindowPtr window, int width, int height);
Ejemplo n.º 5
0
		internal static extern void glfwSetWindowTitle(WindowPtr window, [MarshalAs(UnmanagedType.LPStr)] string title);
Ejemplo n.º 6
0
		internal static extern WindowPtr glfwCreateWindow(int width, int height, [MarshalAs(UnmanagedType.LPStr)] string title, MonitorPtr monitor, WindowPtr share);
Ejemplo n.º 7
0
		internal static extern void glfwMakeContextCurrent(WindowPtr window);
Ejemplo n.º 8
0
		internal static extern GlfwCursorEnterFun glfwSetCursorEnterCallback(WindowPtr window, GlfwCursorEnterFun cbfun);
Ejemplo n.º 9
0
 internal static extern int glfwGetInputMode(WindowPtr window, InputMode mode);
Ejemplo n.º 10
0
 internal static extern GlfwWindowIconifyFun glfwSetWindowIconifyCallback(WindowPtr window, GlfwWindowIconifyFun cbfun);
Ejemplo n.º 11
0
 internal static extern GlfwWindowFocusFun glfwSetWindowFocusCallback(WindowPtr window, GlfwWindowFocusFun cbfun);
Ejemplo n.º 12
0
 internal static extern GlfwWindowRefreshFun glfwSetWindowRefreshCallback(WindowPtr window, GlfwWindowRefreshFun cbfun);
Ejemplo n.º 13
0
 internal static extern GlfwWindowCloseFun glfwSetWindowCloseCallback(WindowPtr window, GlfwWindowCloseFun cbfun);
Ejemplo n.º 14
0
 internal static extern IntPtr glfwGetWindowUserPointer(WindowPtr window);
Ejemplo n.º 15
0
 internal static extern void glfwSetWindowUserPointer(WindowPtr window, IntPtr pointer);
Ejemplo n.º 16
0
		internal static extern void glfwSetCursorPos(WindowPtr window, double xpos, double ypos);
Ejemplo n.º 17
0
		internal static extern GlfwCharFun glfwSetCharCallback(WindowPtr window, GlfwCharFun cbfun);
Ejemplo n.º 18
0
 internal static extern void glfwSetInputMode(WindowPtr window, InputMode mode, CursorMode value);
Ejemplo n.º 19
0
		internal static extern void glfwSetClipboardString(WindowPtr window, [MarshalAs(UnmanagedType.LPStr)] string @string);
Ejemplo n.º 20
0
 internal static extern int glfwGetKey(WindowPtr window, Key key);
Ejemplo n.º 21
0
		internal static extern void glfwGetFramebufferSize(WindowPtr window, out int width, out int height);
Ejemplo n.º 22
0
 internal static extern int glfwGetMouseButton(WindowPtr window, MouseButton button);
Ejemplo n.º 23
0
		internal static extern int glfwWindowShouldClose(WindowPtr window);
Ejemplo n.º 24
0
 internal static extern void glfwSetCursorPos(WindowPtr window, double xpos, double ypos);
Ejemplo n.º 25
0
		internal static extern void glfwSetWindowPos(WindowPtr window, int xpos, int ypos);
Ejemplo n.º 26
0
 internal static extern GlfwKeyFun glfwSetKeyCallback(WindowPtr window, GlfwKeyFun cbfun);
Ejemplo n.º 27
0
		internal static extern void glfwRestoreWindow(WindowPtr window);
Ejemplo n.º 28
0
 internal static extern GlfwCharFun glfwSetCharCallback(WindowPtr window, GlfwCharFun cbfun);
Ejemplo n.º 29
0
		internal static extern int glfwGetWindowAttrib(WindowPtr window, int param);
Ejemplo n.º 30
0
 internal static extern GlfwMouseButtonFun glfwSetMouseButtonCallback(WindowPtr window, GlfwMouseButtonFun cbfun);
Ejemplo n.º 31
0
		internal static extern int glfwGetMouseButton(WindowPtr window, MouseButton button);
Ejemplo n.º 32
0
 internal static extern GlfwCursorEnterFun glfwSetCursorEnterCallback(WindowPtr window, GlfwCursorEnterFun cbfun);
Ejemplo n.º 33
0
		internal static extern GlfwKeyFun glfwSetKeyCallback(WindowPtr window, GlfwKeyFun cbfun);
Ejemplo n.º 34
0
 internal static extern GlfwScrollFun glfwSetScrollCallback(WindowPtr window, GlfwScrollFun cbfun);
Ejemplo n.º 35
0
		internal static extern GlfwMouseButtonFun glfwSetMouseButtonCallback(WindowPtr window, GlfwMouseButtonFun cbfun);
Ejemplo n.º 36
0
 internal static extern void glfwSetClipboardString(WindowPtr window, [MarshalAs(UnmanagedType.LPStr)] string @string);
Ejemplo n.º 37
0
		internal static extern GlfwScrollFun glfwSetScrollCallback(WindowPtr window, GlfwScrollFun cbfun);
Ejemplo n.º 38
0
 internal static extern IntPtr glfwGetClipboardString(WindowPtr window);
Ejemplo n.º 39
0
		internal static extern IntPtr glfwGetClipboardString(WindowPtr window);
Ejemplo n.º 40
0
 internal static extern void glfwMakeContextCurrent(WindowPtr window);
Ejemplo n.º 41
0
		internal static extern void glfwSwapBuffers(WindowPtr window);
Ejemplo n.º 42
0
 internal static extern void glfwSwapBuffers(WindowPtr window);
Ejemplo n.º 43
0
		internal static extern GlfwFramebufferSizeFun glfwSetFramebufferSizeCallback(WindowPtr window, GlfwFramebufferSizeFun cbfun);
Ejemplo n.º 44
0
 internal static extern void glfwGetFramebufferSize(WindowPtr window, out int width, out int height);
Ejemplo n.º 45
0
		internal static extern void glfwDestroyWindow(WindowPtr window);
Ejemplo n.º 46
0
 internal static extern GlfwFramebufferSizeFun glfwSetFramebufferSizeCallback(WindowPtr window, GlfwFramebufferSizeFun cbfun);
Ejemplo n.º 47
0
		internal static extern void glfwSetWindowShouldClose(WindowPtr window, int value);
Ejemplo n.º 48
0
 internal static extern WindowPtr glfwCreateWindow(int width, int height, [MarshalAs(UnmanagedType.LPStr)] string title, MonitorPtr monitor, WindowPtr share);
Ejemplo n.º 49
0
		internal static extern void glfwGetWindowPos(WindowPtr window, out int xpos, out int ypos);
Ejemplo n.º 50
0
 internal static extern void glfwDestroyWindow(WindowPtr window);
Ejemplo n.º 51
0
		internal static extern void glfwGetWindowSize(WindowPtr window, out int width, out int height);
Ejemplo n.º 52
0
 internal static extern int glfwWindowShouldClose(WindowPtr window);
Ejemplo n.º 53
0
		internal static extern void glfwIconifyWindow(WindowPtr window);
Ejemplo n.º 54
0
 internal static extern void glfwSetWindowShouldClose(WindowPtr window, int value);
Ejemplo n.º 55
0
		internal static extern void glfwShowWindow(WindowPtr window);
Ejemplo n.º 56
0
 internal static extern void glfwSetWindowTitle(WindowPtr window, [MarshalAs(UnmanagedType.LPStr)] string title);
Ejemplo n.º 57
0
		internal static extern MonitorPtr glfwGetWindowMonitor(WindowPtr window);
Ejemplo n.º 58
0
		internal static extern int glfwGetKey(WindowPtr window, Key key);
Ejemplo n.º 59
0
		internal static extern void glfwSetWindowUserPointer(WindowPtr window, IntPtr pointer);
Ejemplo n.º 60
0
 internal static extern MonitorPtr glfwGetWindowMonitor(WindowPtr window);