EasyManuals Logo
Home>HP>Desktop>b2600

HP b2600 Reference Guide

HP b2600
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #324 background imageLoading...
Page #324 background image
P
glPixelMap
Chapter 14
324
glPixelMap
glPixelMapfv, glPixelMapuiv, glPixelMapusv: set up pixel transfer maps.
C Specification
void glPixelMapfv(
GLenum map,
GLsizei mapsize,
const GLfloat *values)
void glPixelMapuiv(
GLenum map,
GLsizei mapsize,
const GLuint *values)
void glPixelMapusv(
GLenum map,
GLsizei mapsize,const GLushort *values)
Parameters
map Specifies a symbolic map name. Must be one of the following:
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, or GL_PIXEL_MAP_A_TO_A.
mapsize Specifies the size of the map being defined.
values Specifies an array of mapsize values.
Description
glPixelMap sets up translation tables, or maps, used by glCopyPixels,
glCopyTexImage1D, glCopyTexImage2D, glCopyTexSubImage1D,
glCopyTexSubImage2D, glDrawPixels, glReadPixels, glTexImage1D, glTexImage2D,
glTexSubImage1D, and glTexSubImage2D. Use of these maps is described completely in
the glPixelTransfer reference page, and partly in the reference pages for the pixel and
texture image commands. Only the specification of the maps is described in this
reference page.
map is a symbolic map name, indicating one of ten maps to set.
mapsize specifies the number of entries in the map, and values is a pointer to an array of
mapsize map values.
The ten maps are as follows:
GL_PIXEL_MAP_I_TO_I
Maps color indices to color indices.
GL_PIXEL_MAP_S_TO_S
Maps stencil indices to stencil indices.

Table of Contents

Other manuals for HP b2600

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP b2600 and is the answer not in the manual?

HP b2600 Specifications

General IconGeneral
BrandHP
Modelb2600
CategoryDesktop
LanguageEnglish

Related product manuals