Tao.OpenGl SDK Documentation

Glu.gluCheckExtension Method 

Determines if an extension name is supported.

[Visual Basic]
Public Shared Function gluCheckExtension( _
   ByVal extensionName As String, _
   ByVal extensionString As String _
) As Integer
[C#]
public static int gluCheckExtension(
   string extensionName,
   string extensionString
);

Parameters

extensionName
Specifies an extension name.
extensionString
Specifies a space-separated list of extension names supported.

Return Value

Returns GL_TRUE if extensionName is supported otherwise GL_FALSE is returned.

Remarks

gluCheckExtension is used to check for the presence for OpenGL, GLU or GLX extension names by passing the extension strings returned by glGetString, gluGetString, /*see cref="glXGetClientString" />*/, /*see cref="glXQueryExtensionsString" />*/, or /*see cref="glXQueryServerString" />*/, respectively, as extensionString.

Returns GL_TRUE if extensionName is supported otherwise GL_FALSE is returned.

NOTES

Cases where one extension name is a substring of another are correctly handled.

There may or may not be leading or trailing blanks in extensionString.

Extension names should not contain embedded spaces.

All strings are null-terminated.

See Also

Glu Class | Tao.OpenGl Namespace | glGetString | gluGetString