glGetStringi
glGetStringi is a function in the OpenGL API that retrieves a string identifying a specific indexed feature or extension. It is used in conjunction with glGetIntegerv to determine the number of available extensions or parameters. The function takes two arguments: a token representing the desired string, and an index. The index is used to iterate through multiple strings that share the same token, such as a list of supported extensions.
For example, to retrieve the name of the first supported OpenGL extension, one would first call glGetIntegerv
Similarly, glGetStringi can be used with tokens like GL_RENDERER or GL_VENDOR to retrieve specific string information