Exemple #1
0
        public static unsafe GlfwMonitorPtr[] GetMonitors()
        {
            int             count;
            GlfwMonitorPtr *array = GlfwDelegates.glfwGetMonitors(out count);

            GlfwMonitorPtr[] result = new GlfwMonitorPtr[count];
            for (int i = 0; i < count; ++i)
            {
                result[i] = array[i];
            }
            return(result);
        }