コード例 #1
0
        internal static string StrFromSbyte(sbyte *value)
        {
#if NETCOREAPP1_1
            return(GlfwDelegates.StrFromSbyte(GlfwDelegates.glfwGetVersionString()));
#else
            IntPtr value1 = (IntPtr)GlfwDelegates.glfwGetVersionString();
            return(System.Runtime.InteropServices.Marshal.PtrToStringAnsi(value1));
#endif
        }
コード例 #2
0
 public static string GetMonitorName(GlfwMonitorPtr monitor)
 {
     return(GlfwDelegates.StrFromSbyte(GlfwDelegates.glfwGetMonitorName(monitor)));
 }
コード例 #3
0
 public static string GetClipboardString(GlfwWindowPtr window)
 {
     return(GlfwDelegates.StrFromSbyte(GlfwDelegates.glfwGetClipboardString(window)));
 }
コード例 #4
0
 public static string GetVersionString()
 {
     return(GlfwDelegates.StrFromSbyte(GlfwDelegates.glfwGetVersionString()));
 }
コード例 #5
0
 public static string GetJoystickName(Joystick joy)
 {
     return(GlfwDelegates.StrFromSbyte(GlfwDelegates.glfwGetJoystickName(joy)));
 }