glGetListParameterSGIX(3G) OpenGL Reference glGetListParameterSGIX(3G)
NAME
glGetListParameterfvSGIX, glGetListParameterivSGIX - retrieve display
list parameters
C SPECIFICATION
void glGetListParameterfvSGIX( GLuint list,
GLenum pname,
GLfloat *params )
void glGetListParameterivSGIX( GLuint list,
GLenum pname,
GLint *params )
PARAMETERS
list Specifies the integer name of the display list whose parameters
are to be retrieved.
pname Specifies the symbolic name for display list parameter. Must be
GLLISTPRIORITYSGIX.
params Specifies a pointer to an array in which parameter values will be
stored. If pname is GLLISTPRIORITYSGIX, then the array must
have at least one element.
DESCRIPTION
glGetListParameterSGIX returns the values for parameter pname associated
with the display list named list. Currently, pname must be
GLLISTPRIORITYSGIX, in which case the display list priority is
retrieved in params.
The returned value lies in the range [0.0, 1.0]. If
glGetListParameterivSGIX is used to retrieve list priority, the returned
value is rounded to 0 or 1.
If the parameter list does not refer to a valid list, the return value in
params is undefined.
glGetListParameterSGIX is not included in display lists.
NOTES
glGetListParameterSGIX is part of the SGIXlistpriority extension. See
glIntro for more information about using extensions.
ERRORS
GLINVALIDVALUE is generated if the parameter list is 0.
GLINVALIDENUM is generated if the paramter pname is not one of the
accepted values.
Page 1
glGetListParameterSGIX(3G) OpenGL Reference glGetListParameterSGIX(3G)
GLINVALIDOPERATION is generated if glGetListParameterSGIX is executed
between the execution of glBegin and the corresponding execution of
glEnd.
SEE ALSO
glListParameterSGIX
Page 2