fglLoadName(3G)

fglLoadName - load a name onto the name stack

As shipped in IRIX 6.5.22. Last changed in IRIX 6.5.15.

NAME
     fglLoadName - load a name onto the name stack


FORTRAN SPECIFICATION
     SUBROUTINE fglLoadName( INTEGER*4 name )


PARAMETERS
     name  Specifies a name that will replace the top value on the name stack.

DESCRIPTION
     The name stack is used during selection mode to allow sets of rendering
     commands to be uniquely identified.  It consists of an ordered set of
     unsigned integers.  fglLoadName causes name to replace the value on the
     top of the name stack, which is initially empty.

     The name stack is always empty while the render mode is not GL_SELECT.
     Calls to fglLoadName while the render mode is not GL_SELECT are ignored.

ERRORS
     GL_INVALID_OPERATION is generated if fglLoadName is called while the name
     stack is empty.

     GL_INVALID_OPERATION is generated if fglLoadName is executed between the
     execution of fglBegin and the corresponding execution of fglEnd.

ASSOCIATED GETS
     fglGet with argument GL_NAME_STACK_DEPTH
     fglGet with argument GL_MAX_NAME_STACK_DEPTH


SEE ALSO
     fglInitNames, fglPushName, fglRenderMode, fglSelectBuffer