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

glXGetFBConfigs Subroutine

Purpose

Returns a list of all GLX FBConfigs for a specified screen.

Library

OpenGL C bindings library: libGL.a

C Syntax

GLXFBConfig *glXGetFBConfigs(Display *dpy

                             int screen
                             int *nelements)

Description

The glXGetFBConfigs subroutine returns a list of all GLX FBConfigs that are available for a specified screen. The items in the list can be used in any GLX subroutine that requires a GLX FBConfig. If an error occurs, then a NULL value will be returned.

Parameters

dpy Specifies the connection to the X server.
screen Specifies the screen to use to get the list of GLX FBConfigs.
nelements Returns the number of GLX FBConfigs in the list. If there is an error then it has an undefined value.

Return Values

GLXNoExtension dpy does not support the GLX extension.
GLXBadScreen The screen parameter does not correspond to a valid screen.

Files

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

Related Information

The glXChooseFBConfig subroutine and the glXGetFBConfigAttrib subroutine.

OpenGL in the AIXwindows (GLX) Environment.

OpenGL Overview.


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