コード例 #1
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void GetWindowPos(GlfwWindowPtr window, out int xpos, out int ypos)
 {
     GLFWDelegates.glfwGetWindowPos(window, out xpos, out ypos);
 }
コード例 #2
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void SetClipboardString(GlfwWindowPtr window, string @string)
 {
     GLFWDelegates.glfwSetClipboardString(window, @string);
 }
コード例 #3
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void MakeContextCurrent(GlfwWindowPtr window)
 {
     GLFWDelegates.glfwMakeContextCurrent(window);
 }
コード例 #4
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static GlfwCharFun SetCharCallback(GlfwWindowPtr window, GlfwCharFun cbfun)
 {
     charFun = cbfun;
     return GLFWDelegates.glfwSetCharCallback(window, cbfun);
 }
コード例 #5
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static GlfwCursorEnterFun SetCursorEnterCallback(GlfwWindowPtr window, GlfwCursorEnterFun cbfun)
 {
     cursorEnterFun = cbfun;
     return GLFWDelegates.glfwSetCursorEnterCallback(window, cbfun);
 }
コード例 #6
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static bool GetMouseButton(GlfwWindowPtr window, MouseButton button)
 {
     return GLFWDelegates.glfwGetMouseButton(window, button) != 0;
 }
コード例 #7
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void SetCursorPos(GlfwWindowPtr window, double xpos, double ypos)
 {
     GLFWDelegates.glfwSetCursorPos(window, xpos, ypos);
 }
コード例 #8
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void ShowWindow(GlfwWindowPtr window)
 {
     GLFWDelegates.glfwShowWindow(window);
 }
コード例 #9
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void HideWindow(GlfwWindowPtr window)
 {
     GLFWDelegates.glfwHideWindow(window);
 }
コード例 #10
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void IconifyWindow(GlfwWindowPtr window)
 {
     GLFWDelegates.glfwIconifyWindow(window);
 }
コード例 #11
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void RestoreWindow(GlfwWindowPtr window)
 {
     GLFWDelegates.glfwRestoreWindow(window);
 }
コード例 #12
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void SetWindowSize(GlfwWindowPtr window, int width, int height)
 {
     GLFWDelegates.glfwSetWindowSize(window, width, height);
 }
コード例 #13
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void GetWindowSize(GlfwWindowPtr window, out int width, out int height)
 {
     GLFWDelegates.glfwGetWindowSize(window, out width, out height);
 }
コード例 #14
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void SetWindowPos(GlfwWindowPtr window, int xpos, int ypos)
 {
     GLFWDelegates.glfwSetWindowPos(window, xpos, ypos);
 }
コード例 #15
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void SetInputMode(GlfwWindowPtr window, InputMode mode, CursorMode value)
 {
     GLFWDelegates.glfwSetInputMode(window, mode, value);
 }
コード例 #16
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static GlfwMonitorPtr GetWindowMonitor(GlfwWindowPtr window)
 {
     return GLFWDelegates.glfwGetWindowMonitor(window);
 }
コード例 #17
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static bool GetKey(GlfwWindowPtr window, KeyCode key)
 {
     return GLFWDelegates.glfwGetKey(window, key) != 0;
 }
コード例 #18
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static int GetWindowAttrib(GlfwWindowPtr window, WindowHint param)
 {
     return GLFWDelegates.glfwGetWindowAttrib(window, (int)param);
 }
コード例 #19
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void GetCursorPos(GlfwWindowPtr window, out double xpos, out double ypos)
 {
     GLFWDelegates.glfwGetCursorPos(window, out xpos, out ypos);
 }
コード例 #20
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void SetWindowUserPointer(GlfwWindowPtr window, IntPtr pointer)
 {
     GLFWDelegates.glfwSetWindowUserPointer(window, pointer);
 }
コード例 #21
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static GlfwKeyFun SetKeyCallback(GlfwWindowPtr window, GlfwKeyFun cbfun)
 {
     keyFun = cbfun;
     return GLFWDelegates.glfwSetKeyCallback(window, cbfun);
 }
コード例 #22
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static IntPtr GetWindowUserPointer(GlfwWindowPtr window)
 {
     return GLFWDelegates.glfwGetWindowUserPointer(window);
 }
コード例 #23
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static GlfwMouseButtonFun SetMouseButtonCallback(GlfwWindowPtr window, GlfwMouseButtonFun cbfun)
 {
     mouseButtonFun = cbfun;
     return GLFWDelegates.glfwSetMouseButtonCallback(window, cbfun);
 }
コード例 #24
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static GlfwFramebufferSizeFun SetFramebufferSizeCallback(GlfwWindowPtr window, GlfwFramebufferSizeFun cbfun)
 {
     framebufferSizeFun = cbfun;
     return GLFWDelegates.glfwSetFramebufferSizeCallback(window, cbfun);
 }
コード例 #25
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static GlfwScrollFun SetScrollCallback(GlfwWindowPtr window, GlfwScrollFun cbfun)
 {
     scrollFun = cbfun;
     return GLFWDelegates.glfwSetScrollCallback(window, cbfun);
 }
コード例 #26
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static GlfwWindowIconifyFun SetWindowIconifyCallback(GlfwWindowPtr window, GlfwWindowIconifyFun cbfun)
 {
     windowIconifyFun = cbfun;
     return GLFWDelegates.glfwSetWindowIconifyCallback(window, cbfun);
 }
コード例 #27
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static string GetClipboardString(GlfwWindowPtr window)
 {
     return new string(GLFWDelegates.glfwGetClipboardString(window));
 }
コード例 #28
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static int GetInputMode(GlfwWindowPtr window, InputMode mode)
 {
     return GLFWDelegates.glfwGetInputMode(window, mode);
 }
コード例 #29
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void SwapBuffers(GlfwWindowPtr window)
 {
     GLFWDelegates.glfwSwapBuffers(window);
 }
コード例 #30
0
ファイル: GLFW3.cs プロジェクト: mattparks/GLConverter
 public static void SetWindowTitle(GlfwWindowPtr window, string title)
 {
     GLFWDelegates.glfwSetWindowTitle(window, title);
 }