public static void GenTextures(this IOpenGl gl, Span <uint> textures)
 {
     gl.GenTextures(textures.Length, out textures[0]);
 }
 public static uint GenTexture(this IOpenGl gl)
 {
     gl.GenTextures(1, out var result);
     return(result);
 }