[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

getgdesc Subroutine


Returns information about the currently installed graphics hardware .


Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

Int32 getgdesc(Int32 inquiry);


INTEGER*4 inquiry


The getgdesc subroutine allows you to inquire about characteristics of the graphics system. The characteristics are all hardware characteristics; that is, the values returned do not change as the adapter is software reconfigured.

It is not necessary to open a GL window or call the ginit subroutine before using the getgdesc subroutine.

Note: This subroutine cannot be used to add to a display list.


inquiry Represents the characteristics about which you want to inquire. Inquiries are submitted using tokens.

Return Values

The value of the requested characteristic, or -1 if the request is not valid or cannot be determined. For a listing of return values for adapters, see the "Adapter Description Table for GL", Appendix B.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.


/usr/include/gl/gl.h Contains C language constant and variable type definitions for GL.
/usr/include/gl/fgl.h Contains FORTRAN constant and variable type definitions for GL.

Related Information

Getting the library version number with the gversion subroutine.

Understanding the Hardware Used by GL and Clearing, Setting, and Initializing GL in GL3.2 Version 4 for AIX: Programming Concepts.

[ Previous | Next | Contents | Glossary | Home | Search ]