Scroll to navigation

GLUCHECKEXTENSION(3G) OpenGL Manual GLUCHECKEXTENSION(3G)

NAME

gluCheckExtension - determines if an extension name is supported

C SPECIFICATION

GLboolean gluCheckExtension(const GLubyte * extName, const GLubyte * extString);

PARAMETERS

extName

Specifies an extension name.

extString

Specifies a space-separated list of extension names supported.

DESCRIPTION

gluCheckExtension returns GLU_TRUE if extName is supported otherwise GLU_FALSE is returned.

This is used to check for the presence for OpenGL, GLU, or GLX extension names by passing the extension strings returned by glGetString(), gluGetString(), glXGetClientString(), glXQueryExtensionsString(), or glXQueryServerString(), respectively, as extString.

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 extString.

Extension names should not contain embedded spaces.

All strings are null-terminated.

SEE ALSO

gluGetString(), glGetString(), glXGetClientString(), glXQueryExtensionsString(), glXQueryServerString()

COPYRIGHT

Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.

AUTHORS

opengl.org

04/12/2021 opengl.org