The charstr subroutine does not cause a hit, although cmov and cmov2 do cause hits. Picking does not work if you issue a new viewport in picking mode. Nothing is drawn to the screen when the system is in picking mode. Instead, drawing commands are piped to the picking mechanism and used to determine pick or select region hits. On most systems, nothing is actually placed in the pick buffer until the endpick subroutine is called.
Parameters buffer Specifies the array to use for storing names.
The example C language program pick1.c calls the pick subroutine to pick objects when the left mouse button is pressed. Related Information Turning off picking mode with the endpick subroutine. Putting the system in selecting mode with the gselect subroutine. Initializing the name stack with the initnames subroutine. Loading the name on top of the name stack with the loadname subroutine.