Silicon Graphics

[Prev] [TOC] [Next]



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

Current Values and Associated Data

State VariableDescriptionAttribute GroupInitial ValueGet Command

GL_CURRENT_COLOR

Current color

current

1, 1, 1, 1

glGetIntegerv() , glGetFloatv()

GL_CURRENT_INDEX

Current color index

current

1

glGetIntegerv() , glGetFloatv()

GL_CURRENT_TEXTURE_COORDS

Current texture coordinates

current

0, 0, 0, 1

glGetFloatv()

GL_CURRENT_NORMAL

Current normal

current

0, 0, 1

glGetFloatv()

GL_CURRENT_RASTER_POSITION

Current raster position

current

0, 0, 0, 1

glGetFloatv()



GL_CURRENT_RASTER_DISTANCE

Current raster distance

current

0

glGetFloatv()

GL_CURRENT_RASTER_COLOR

Color associated with raster position

current

1, 1, 1, 1

glGetIntegerv() , glGetFloatv()

GL_CURRENT_RASTER_INDEX

Color index associated with raster position

current

1

glGetIntegerv() , glGetFloatv()

GL_CURRENT_RASTER_TEXTURE_ COORDS

Texture coordinates associated with raster position

current

0, 0, 0, 1

glGetFloatv()

GL_CURRENT_RASTER_POSITION_ VALID

Raster position valid bit

current

GL_TRUE

glGetBooleanv( )

GL_EDGE_FLAG

Edge flag

current

GL_TRUE

glGetBooleanv( )

Table B-3 : State Variables for Current Values and Associated Data



[Prev] [TOC] [Next]

OpenGL Programming Guide


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