[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
OpenGL 1.2 for AIX: Reference Manual

gluCheckExtension Subroutine

Purpose

Determines if an extension name is supported.

Library

OpenGL C bindings library: libGL.a

C Syntax

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

Description

gluCheckExtension returns GL_TRUE if extName is supported otherwise GL_FALSE is returned.

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

Parameters

extName Specifies an extension name.
extString Specifies a space-separated list of extension names supported.

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.

Files

/usr/include/GL/gl.h Contains C language constraints, variable type definitions, and ANSI function prototypes for OpenGL.

Related Information

The glGetString subroutine, gluGetString subroutine, glXGetClientString subroutine.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]