Silicon Graphics

[Prev] [TOC] [Next]



(-) OpenGL Programming Guide
(-) Appendix BOpenGL State Variables
(-) OpenGL State Variables

Pixels

State VariableDescriptionAttribute GroupInitial ValueGet Command

GL_UNPACK_SWAP_BYTES

Value of GL_UNPACK_SWAP_BYTES

--

GL_FALSE

glGetBooleanv()

GL_UNPACK_LSB_FIRST

Value of GL_UNPACK_LSB_FIRST

--

GL_FALSE

glGetBooleanv()

GL_UNPACK_ROW_LENGTH

Value of GL_UNPACK_ROW_LENGT H

--

0

glGetIntegerv()

GL_UNPACK_SKIP_ROWS

Value of GL_UNPACK_SKIP_ROWS

--

0

glGetIntegerv()

GL_UNPACK_SKIP_PIXELS

Value of GL_UNPACK_SKIP_PIXELS

--

0

glGetIntegerv()

GL_UNPACK_ALIGNMENT

Value of GL_UNPACK_ALIGNMENT

--

4

glGetIntegerv()

GL_PACK_SWAP_BYTES

Value of GL_PACK_SWAP_BYTES

--

GL_FALSE

glGetBooleanv()

GL_PACK_LSB_FIRST

Value of GL_PACK_LSB_FIRST

--

GL_FALSE

glGetBooleanv()

GL_PACK_ROW_LENGTH

Value of GL_PACK_ROW_LENGTH

--

0

glGetIntegerv()

GL_PACK_SKIP_ROWS

Value of GL_PACK_SKIP_ROWS

--

0

glGetIntegerv()

GL_PACK_SKIP_PIXELS

Value of GL_PACK_SKIP_PIXELS

--

0

glGetIntegerv()

GL_PACK_ALIGNMENT

Value of GL_PACK_ALIGNMENT

--

4

glGetIntegerv()

GL_MAP_COLOR

True if colors are mapped

pixel

GL_FALSE

glGetBooleanv()

GL_MAP_STENCIL

True if stencil values are mapped

pixel

GL_FALSE

glGetBooleanv()

GL_INDEX_SHIFT

Value of GL_INDEX_SHIFT

pixel

0

glGetIntegerv()

GL_INDEX_OFFSET

Value of GL_INDEX_OFFSET

pixel

0

glGetIntegerv()

GL_x_SCALE

Value of GL_x_SCALE; x is GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, or GL_DEPTH

pixel

1

glGetFloatv()

GL_x_BIAS

Value of GL_x_BIAS; x is one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, or GL_DEPTH

pixel

0

glGetFloatv()

GL_ZOOM_X

x zoom factor

pixel

1.0

glGetFloatv()

GL_ZOOM_Y

y zoom factor

pixel

1.0

glGetFloatv()

GL_x

glPixelMap() translation tables; x is a map name from Table 8-5

pixel

0's

glGetPixelMap()

GL_x_SIZE

Size of table x

pixel

1

glGetIntegerv()

GL_READ_BUFFER

Read source buffer

pixel

--

glGetIntegerv()

Table B-11 : Pixel State Variables



[Prev] [TOC] [Next]

OpenGL Programming Guide


Maintained by Maintainer: Send e-mail to .htm">name@address.