public static int MaxFramebufferLayers() { var result = new int[1]; OpenGL.GetInteger(OpenGL.GL_MAX_FRAMEBUFFER_LAYERS, result); return result[0]; }