Unix and Linux Discussions Tagged with extension |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
8 |
7,230 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
8,585 |
Shell Programming and Scripting |
|
|
|
14 |
12,208 |
Ubuntu |
|
|
|
4 |
2,255 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,682 |
Shell Programming and Scripting |
|
|
|
9 |
5,945 |
Shell Programming and Scripting |
|
|
|
5 |
3,962 |
UNIX for Beginners Questions & Answers |
|
|
|
13 |
6,366 |
Shell Programming and Scripting |
|
|
|
8 |
8,242 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
13,862 |
Shell Programming and Scripting |
|
|
|
0 |
999 |
Software Releases - RSS News |
|
|
|
3 |
3,896 |
Shell Programming and Scripting |
|
|
|
0 |
885 |
Software Releases - RSS News |
|
|
|
3 |
4,370 |
Shell Programming and Scripting |
|
|
|
0 |
1,476 |
UNIX and Linux RSS News |
|
|
|
2 |
3,736 |
OS X (Apple) |
|
|
|
0 |
715 |
Software Releases - RSS News |
|
|
|
0 |
957 |
Software Releases - RSS News |
|
|
|
0 |
1,955 |
UNIX and Linux RSS News |
|
|
|
0 |
1,494 |
UNIX and Linux RSS News |
|
|
|
0 |
1,194 |
UNIX and Linux RSS News |
|
|
|
1 |
11,046 |
HP-UX |
|
|
|
3 |
3,445 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,465 |
UNIX and Linux RSS News |
|
|
|
4 |
3,972 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,829 |
UNIX and Linux RSS News |
|
|
|
0 |
1,150 |
UNIX and Linux RSS News |
|
|
|
0 |
1,775 |
UNIX and Linux RSS News |
|
|
|
0 |
2,144 |
UNIX and Linux RSS News |
|
|
|
2 |
2,222 |
Shell Programming and Scripting |
|
|
|
2 |
5,705 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,221 |
UNIX and Linux RSS News |
|
|
|
3 |
5,461 |
Solaris |
|
|
|
5 |
15,921 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
10,789 |
Shell Programming and Scripting |
|
|
|
0 |
1,979 |
UNIX and Linux RSS News |
|
|
|
7 |
3,597 |
Shell Programming and Scripting |
|
|
|
2 |
4,799 |
Shell Programming and Scripting |
|
|
|
3 |
3,327 |
Shell Programming and Scripting |
|
|
|
0 |
1,393 |
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)