GLGETPIXELMAP


HOME

GLGETPIXELMAP

NAME
C SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
ERRORS
ASSOCIATED GETS
SEE ALSO

NAME

glGetPixelMapfv, glGetPixelMapuiv, glGetPixelMapusv − return the specified pixel map

C SPECIFICATION

void glGetPixelMapfv( GLenum map,

GLfloat *values )

void glGetPixelMapuiv( GLenum map,

GLuint *values )

void glGetPixelMapusv( GLenum map,

GLushort *values )

PARAMETERS

map

Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A.

values

Returns the pixel map contents.

DESCRIPTION

See the glPixelMap reference page for a description of the acceptable values for the map parameter. glGetPixelMap returns in values the contents of the pixel map specified in map. Pixel maps are used during the execution of glReadPixels, glDrawPixels, glCopyPixels, glTexImage1D, glTexImage2D, glTexImage3D, glTexSubImage1D, glTexSubImage2D, glTexSubImage3D, glCopyTexImage1D, glCopyTexImage2D, glCopyTexSubImage1D, glCopyTexSubImage2D, glCopyTexSubImage3D, glColorTable, glColorSubTable, glCopyColorTable, glCopyColorSubTable, glConvolutionFilter1D, glConvolutionFilter2D, glSeparableFilter2D, glGetHistogram, glGetMinmax, and glGetTexImage to map color indices, stencil indices, color components, and depth components to other values.

Unsigned integer values, if requested, are linearly mapped from the internal fixed or floating-point representation such that 1.0 maps to the largest representable integer value, and 0.0 maps to 0. Return unsigned integer values are undefined if the map value was not in the range [0,1].

To determine the required size of map, call glGet with the appropriate symbolic constant.

NOTES

If an error is generated, no change is made to the contents of values.

ERRORS

GL_INVALID_ENUM is generated if map is not an accepted value.

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

ASSOCIATED GETS

glGet with argument GL_PIXEL_MAP_I_TO_I_SIZE
glGet
with argument GL_PIXEL_MAP_S_TO_S_SIZE
glGet
with argument GL_PIXEL_MAP_I_TO_R_SIZE
glGet
with argument GL_PIXEL_MAP_I_TO_G_SIZE
glGet
with argument GL_PIXEL_MAP_I_TO_B_SIZE
glGet
with argument GL_PIXEL_MAP_I_TO_A_SIZE
glGet
with argument GL_PIXEL_MAP_R_TO_R_SIZE
glGet
with argument GL_PIXEL_MAP_G_TO_G_SIZE
glGet
with argument GL_PIXEL_MAP_B_TO_B_SIZE
glGet
with argument GL_PIXEL_MAP_A_TO_A_SIZE
glGet
with argument GL_MAX_PIXEL_MAP_TABLE

SEE ALSO

glColorSubTable(3G), glColorTable(3G), glConvolutionFilter1D(3G), glConvolutionFilter2D(3G), glCopyColorSubTable(3G), glCopyColorTable(3G), glCopyPixels(3G), glCopyTexImage1D(3G), glCopyTexImage2D(3G), glCopyTexSubImage1D(3G), glCopyTexSubImage2D(3G), glCopyTexSubImage3D(3G), glDrawPixels(3G), glGetHistogram(3G), glGetMinmax(3G), glGetTexImage(3G), glPixelMap(3G), glPixelTransfer(3G), glReadPixels(3G), glSeparableFilter2D(3G), glTexImage1D(3G), glTexImage2D(3G) glTexImage3D(3G), glTexSubImage1D(3G), glTexSubImage2D(3G), glTexSubImage3D(3G)



More Linux Commands

manpages/glGetClipPlane.3gl.html
glGetClipPlane(3gl) - return the coefficients of the specifi
glGetClipPlane returns in equation the four coefficients of the plane equation for plane. NOTES It is always the case that GL_CLIP_PLANE$i$ = GL_CLIP_PLANE0 + $

manpages/adjtimex.2.html
adjtimex(2) - tune kernel clock (System - Linux man page)...
Linux uses David L. Mills clock adjustment algorithm (see RFC 1305). The system call adjtimex() reads and optionally sets adjustment parameters for this algorit

manpages/lircmd.8.html
lircmd(8) - LIRC mouse daemon translates infrared signals in
This daemon can simulate a MouseSystems, IntelliMouse or IMPS/2 type mouse. It gets the received buttons from lircd and converts them to mouse events. To make t

manpages/htfuzzy.1.html
htfuzzy(1) - fuzzy command-line search utility for the ht://
Description to follow here OPTIONS -c configfile Use the specified configfile instead of the default. -v Verbose mode , -vvv etc ). Specifying more than two vs

manpages/Tk_ManageGeometry.3.html
Tk_ManageGeometry(3) - arrange to handle geometry requests f
Tk_ManageGeometry arranges for a particular geometry manager, described by the mgrPtr argument, to control the geometry of a particular slave window, given by t

manpages/getmntent.3.html
getmntent(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/curl_slist_append.3.html
curl_slist_append(3) - add a string to an slist (Man Page)
curl_slist_append() appends a specified string to a linked list of strings. The existing list should be passed as the first argument while the new list is retur

manpages/protocols.5.html
protocols(5) - protocols definition file - Linux man page...
This file is a plain ASCII file, describing the various DARPA internet protocols that are available from the TCP/IP subsystem. It should be consulted instead of

manpages/gvfs-trash.1.html
gvfs-trash(1) Move files or directories to the trash........
gvfs-trash sends files or directories to the Trashcan. This can be a different folder depending on where the file is located, and not all file systems support t

manpages/auparse_get_field_str.3.html
auparse_get_field_str(3) - get current field's value........
auparse_get_field_str allows access to the value in the current field of the current record in the current event. RETURN VALUE Returns NULL if an error occurs;

manpages/pack.n.html
pack(n) - Geometry manager that packs around edges of cavity
The pack command is used to communicate with the packer, a geometry manager that arranges the children of a parent by packing them in order around the edges of

manpages/XtAppSetWarningMsgHandler.3.html
XtAppSetWarningMsgHandler(3) - high-level error handlers....
The XtAppErrorMsg function calls the high-level error handler and passes the specified information. The XtAppSetErrorMsgHandler function registers the specified





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