pset_depth_cue_ind(3g) — Subroutines
Name
pset_depth_cue_ind − Specifies the depth cue index value that selects an entry in the workstation depth cue table.
Operating States: PHOP, ∗, STOP, ∗
PHIGS PLUS function
Creates a structure element
Syntax
void pset_depth_cue_ind (
Pint index /∗ (I) Depth cue index ∗/
)
Description
pset_depth_cue_ind specifies the depth cue index value that selects an entry in the workstation depth cue table. Depth cueing modifies the color of a primitive based on the z-coordinate of the primitive in normalized projection coordinates. The set depth cue index element selects an entry in the workstation depth cue table. This entry specifies the depth cue mode, the depth cue reference planes, the depth cue scale factors, and a depth cue color. (See the pset_depth_cue_rep function.)
Depending on the current edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer. The pointer then points to the new set depth cue index element.
If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element.
See Also
pinq_depth_cue_facs
pinq_depth_cue_rep
pinq_list_depth_cue_inds
pset_depth_cue_rep