public static void SetWindowTitle(Window window, string title) { glfwSetWindowTitle(window.Handle, MarshalExt.ToUTF8ByteArray(title)); }
public static Window CreateWindow(int width, int height, string title, Monitor?monitor = null, Window?share = null) { return(glfwCreateWindow(width, height, MarshalExt.ToUTF8ByteArray(title), monitor.HasValue ? monitor.Value.Handle : IntPtr.Zero, share.HasValue ? share.Value.Handle : IntPtr.Zero)); }