Unix and Linux Discussions Tagged with extension |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
8 |
12,062 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
9,836 |
Shell Programming and Scripting |
|
|
|
14 |
19,866 |
Ubuntu |
|
|
|
4 |
3,774 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,635 |
Shell Programming and Scripting |
|
|
|
9 |
7,691 |
Shell Programming and Scripting |
|
|
|
5 |
5,074 |
UNIX for Beginners Questions & Answers |
|
|
|
13 |
7,112 |
Shell Programming and Scripting |
|
|
|
8 |
8,863 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
14,381 |
Shell Programming and Scripting |
|
|
|
0 |
1,590 |
Software Releases - RSS News |
|
|
|
3 |
4,359 |
Shell Programming and Scripting |
|
|
|
0 |
1,353 |
Software Releases - RSS News |
|
|
|
3 |
4,514 |
Shell Programming and Scripting |
|
|
|
0 |
1,697 |
UNIX and Linux RSS News |
|
|
|
2 |
4,678 |
OS X (Apple) |
|
|
|
0 |
985 |
Software Releases - RSS News |
|
|
|
0 |
1,565 |
Software Releases - RSS News |
|
|
|
0 |
2,105 |
UNIX and Linux RSS News |
|
|
|
0 |
1,592 |
UNIX and Linux RSS News |
|
|
|
0 |
1,294 |
UNIX and Linux RSS News |
|
|
|
1 |
11,802 |
HP-UX |
|
|
|
3 |
3,739 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,602 |
UNIX and Linux RSS News |
|
|
|
4 |
4,409 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,037 |
UNIX and Linux RSS News |
|
|
|
0 |
1,301 |
UNIX and Linux RSS News |
|
|
|
0 |
1,942 |
UNIX and Linux RSS News |
|
|
|
0 |
2,282 |
UNIX and Linux RSS News |
|
|
|
2 |
2,534 |
Shell Programming and Scripting |
|
|
|
2 |
5,994 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,381 |
UNIX and Linux RSS News |
|
|
|
3 |
5,827 |
Solaris |
|
|
|
5 |
16,331 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
11,136 |
Shell Programming and Scripting |
|
|
|
0 |
2,199 |
UNIX and Linux RSS News |
|
|
|
7 |
3,827 |
Shell Programming and Scripting |
|
|
|
2 |
4,993 |
Shell Programming and Scripting |
|
|
|
3 |
3,553 |
Shell Programming and Scripting |
|
|
|
0 |
1,572 |
UNIX and Linux RSS News |
glutExtensionSupported(3GLUT) GLUT glutExtensionSupported(3GLUT)
NAME
glutExtensionSupported - helps to easily determine whether a given OpenGL extension is supported.
SYNTAX
int glutExtensionSupported(char *extension);
ARGUMENTS
extension Name of OpenGL extension.
DESCRIPTION
glutExtensionSupported helps to easily determine whether a given OpenGL extension is supported or not. The extension parameter names the
extension to query. The supported extensions can also be determined with glGetString(GL_EXTENSIONS), but glutExtensionSupported does the
correct parsing of the returned string.
glutExtensionSupported returns non-zero if the extension is supported, zero if not supported.
There must be a valid current window to call glutExtensionSupported.
glutExtensionSupported only returns information about OpenGL extensions only. This means window system dependent extensions (for example,
GLX extensions) are not reported by glutExtensionSupported.
EXAMPLE
Here is an example of using glutExtensionSupported:
if (!glutExtensionSupported("GL_EXT_texture")) {
fprintf(stderr, "Missing the texture extension!
");
exit(1);
}
Notice that the name argument includes both the GL prefix and the extension family prefix (EXT).
SEE ALSO
glutGet, glGetString
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutExtensionSupported(3GLUT)