GLGETSTRING



GLGETSTRING

NAME
C SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
ERRORS

NAME

− return a string describing the current GL connection

C SPECIFICATION

const GLubyte* glGetString( GLenum name )

PARAMETERS

name

Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_EXTENSIONS.

DESCRIPTION

glGetString returns a pointer to a static string describing some aspect of the current GL connection. name can be one of the following:

GL_VENDOR

Returns the company responsible for this GL implementation. This name does not change from release to release.

GL_RENDERER

Returns the name of the renderer. This name is typically specific to a particular configuration of a hardware platform. It does not change from release to release.

GL_VERSION

Returns a version or release number.

GL_EXTENSIONS

Returns a space-separated list of supported extensions to GL.

Because the GL does not include queries for the performance characteristics of an implementation, some applications are written to recognize known platforms and modify their GL usage based on known performance characteristics of these platforms. Strings GL_VENDOR and GL_RENDERER together uniquely specify a platform. They do not change from release to release and should be used by platform-recognition algorithms.

Some applications want to make use of features that are not part of the standard GL. These features may be implemented as extensions to the standard GL. The GL_EXTENSIONS string is a space-separated list of supported GL extensions. (Extension names never contain a space character.)

The GL_VERSION string begins with a version number. The version number uses one of these forms:

major_number.minor_number
major_number.minor_number.release_number

Vendor-specific information may follow the version number. Its depends on the implementation, but a space always separates the version number and the vendor-specific information.

All strings are null-terminated.

NOTES

If an error is generated, glGetString returns 0.

The client and server may support different versions or extensions. glGetString always returns a compatible version number or list of extensions. The release number always describes the server.

ERRORS

GL_INVALID_ENUM is generated if name is not an accepted value.

GL_INVALID_OPERATION is generated if glGetString is executed between the execution of glBegin and the corresponding execution of glEnd.



More Linux Commands

manpages/kbdrate.8.html
kbdrate(8) - reset the keyboard repeat rate and delay time
kbdrate is used to change the keyboard repeat rate and delay time. The delay is the amount of time that a key must be depressed before it will start to repeat.

manpages/kross.1.html
kross(1) - KDE application to run kross scripts (Man Page)
kross executes kross scripts written in KDE Javascript, Python, Ruby, Java and Falcon. GENERIC OPTIONS --author Show author information. --help Show help about

manpages/glGetMinmaxParameter.3gl.html
glGetMinmaxParameter(3gl) - get minmax parameters (ManPage)
glGetMinmaxParameter retrieves parameters for the current minmax table by setting pname to one of the following values: NOTES glGetMinmaxParameter is present on

manpages/nfsiostat.8.html
nfsiostat(8) - Emulate iostat for NFS mount points using /pr
The nfsiostat command displays NFS client per-mount statisitics. <interval> specifies the amount of time in seconds between each report. The first report contai

manpages/addmntent.3.html
addmntent(3) - get file system descriptor file entry........
These routines are used to access the filesystem description file /etc/fstab and the mounted filesystem description file /etc/mtab. The setmntent() function ope

manpages/gnutls_x509_crt_set_ca_status.3.html
gnutls_x509_crt_set_ca_status(3) - API function (Man Page)
This function will set the basicConstraints certificate extension. Use gnutls_x509_crt_set_basic_constraints() if you want to control the pathLenConstraint fiel

manpages/zebra.8.html
zebra(8) - a routing manager for use with associated Quagga
zebra is a routing manager that implements the zebra route engine. zebra supports RIPv1, RIPv2, RIPng, OSPF, OSPF6, IS-IS, BGP4+, and BGP4-. OPTIONS Options ava

manpages/tk_focusNext.n.html
tk_focusNext(n) - Utility procedures for managing the input
tk_focusNext is a utility procedure used for keyboard traversal. It returns the next window after window in focus order. The focus order is determined by the st

manpages/CPU_ISSET_S.3.html
CPU_ISSET_S(3) - macros for manipulating CPU sets (ManPage)
The cpu_set_t data structure represents a set of CPUs. CPU sets are used by sched_setaffinity(2) and similar interfaces. The cpu_set_t data type is implemented

manpages/xkbwatch.1.html
xkbwatch(1) - XKB extension user utility - Linux man page...
This program reports changes in the fundamental components of the XKB keyboard state plus the effective compatibility state. xkbwatch.1 (Commands - Linux manual

manpages/gnutls_x509_crt_get_dn.3.html
gnutls_x509_crt_get_dn(3) - API function - Linux man page...
This function will copy the name of the Certificate in the provided buffer. The name will be in the form C=xxxx,O=yyyy,CN=zzzz as described in RFC2253. The outp

manpages/fiascotopnm.1.html
fiascotopnm(1) - Convert compressed FIASCO image to PGM, or
This program is part of Netpbm(1) fiascotopnm decompresses the named FIASCO files, or the Standard Input if no file is named, and writes the images as PGM, or P





We can't live, work or learn in freedom unless the software we use is free.