pub fn num_extensions() -> usize
Gets the number of extensions supported by the current GL context.
This function is a convenience wrapper around glGetIntegerv with the GL_NUM_EXTENSIONS parameter.
glGetIntegerv
GL_NUM_EXTENSIONS