54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
|
'\" e
|
||
|
'\"! eqn | mmdoc
|
||
|
'\"macro stdmacro
|
||
|
.ds Vn Version 1.2
|
||
|
.ds Dt 6 March 1997
|
||
|
.ds Re Release 1.2.0
|
||
|
.ds Dp May 02 11:53
|
||
|
.ds Dm 37 checkexte
|
||
|
.ds Xs 16492 4 checkextension.gl
|
||
|
.TH GLUCHECKEXTENSION 3G
|
||
|
.SH NAME
|
||
|
.B "gluCheckExtension
|
||
|
\- determines if an extension name is supported
|
||
|
|
||
|
.SH C SPECIFICATION
|
||
|
GLboolean \f3gluCheckExtension\fP(
|
||
|
const GLubyte \fI*extName\fP,
|
||
|
.nf
|
||
|
.ta \w'\f3GLboolean \fPgluCheckExtension( 'u
|
||
|
const GLubyte \fI*extString\fP )
|
||
|
.fi
|
||
|
|
||
|
.SH PARAMETERS
|
||
|
.TP \w'\fIextString\fP\ \ 'u
|
||
|
\f2extName\fP
|
||
|
Specifies an extension name.
|
||
|
.TP
|
||
|
\f2extString\fP
|
||
|
Specifies a space-separated list of extension names supported.
|
||
|
.SH DESCRIPTION
|
||
|
\%\f3gluCheckExtension\fP returns \%\f3GL_TRUE\fP if \f2extName\fP is supported otherwise
|
||
|
\%\f3GL_FALSE\fP is returned.
|
||
|
.P
|
||
|
This is used to check for the presence for OpenGL, GLU or GLX extension names
|
||
|
by passing the extension strings returned by \f3glGetString\fP,
|
||
|
\%\f3gluGetString\fP, \f3glXGetClientString\fP,
|
||
|
\f3glXQueryExtensionsString\fP, or \f3glXQueryServerString\fP,
|
||
|
respectively, as \f2extString\fP.
|
||
|
.SH NOTES
|
||
|
Cases where one extension name is a substring of another are
|
||
|
correctly handled.
|
||
|
.P
|
||
|
There may or may not be leading or trailing blanks in \f2extString\fP.
|
||
|
.P
|
||
|
Extension names should not contain embedded spaces.
|
||
|
.P
|
||
|
All strings are null-terminated.
|
||
|
.SH SEE ALSO
|
||
|
\f3glGetString(3G)\fP,
|
||
|
\%\f3gluGetString(3G)\fP,
|
||
|
\f3glXGetClientString(3G)\fP,
|
||
|
\f3glXQueryExtensionsString(3G)\fP,
|
||
|
\f3glXQueryServerString(3G)\fP
|