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

glXQueryExtensionsString Subroutine

Purpose

Returns a list of supported extensions.

Library

C bindings library: libGL.a

C Syntax

const char *glXQueryExtensionsString(
    Display  *dpy,
    int      screen)

Description

The glXQueryExtensionsString subroutine returns a pointer to a string describing which GLX extensions are supported on the connection. The string is null-terminated and contains a space-separated list of extension names. (The extension names themselves never contain spaces.) If there are no extensions to GLX, then the empty string is returned.

Parameters

dpy Specifies the connection to the X server.
screen Specifies the screen.

Notes

The glXQueryExtensionsString subroutine is available only if the GLX version is 1.1 or greater.

The glXQueryExtensionsString subroutines only returns information about GLX extensions. Call glGetString to get a list of GL extensions.

Related Information

The glGetString subroutine, glXQueryVersion subroutine, glXQueryServerString subroutine, glXGetClientString subroutine.


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