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
        }
Beispiel #2
0
 public static string GetMonitorName(GlfwMonitorPtr monitor)
 {
     return(GlfwDelegates.StrFromSbyte(GlfwDelegates.glfwGetMonitorName(monitor)));
 }
Beispiel #3
0
 public static string GetClipboardString(GlfwWindowPtr window)
 {
     return(GlfwDelegates.StrFromSbyte(GlfwDelegates.glfwGetClipboardString(window)));
 }
Beispiel #4
0
 public static string GetVersionString()
 {
     return(GlfwDelegates.StrFromSbyte(GlfwDelegates.glfwGetVersionString()));
 }
Beispiel #5
0
 public static string GetJoystickName(Joystick joy)
 {
     return(GlfwDelegates.StrFromSbyte(GlfwDelegates.glfwGetJoystickName(joy)));
 }