[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPDCI - Set Depth Cue Index

GPDCI (index)

Purpose

Use GPDCI to insert a Set Depth Cue Index structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Set Depth Cue Index structure element depending on the current edit mode.

This structure element specifies an entry in the workstation's depth cue table. The attributes defined in the entry control how depth cueing is applied to subsequent primitives. Each entry contains the depth cue mode, depth cue color, depth cue reference planes, and depth cue scale factors.

The traversal default depth cue index value is 0.

If the workstation does not support the specified index value or the specified index is outside the depth cue table size, then the depth cue index value defaults to 0.

Parameters

index -- specified by user, fullword integer

Depth cue table index (>=0)

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
261
DEPTH CUE INDEX < ZERO

Related Subroutines

GPCPI
Set Color Processing Index
GPCPR
Set Color Processing Representation
GPDCR
Set Depth Cue Representation
GPLMO
Set Lighting Calculation Mode
GPLSR
Set Light Source Representation
GPLSS
Set Light Source State
GPQDCF
Inquire Depth Cue Facilities

RCP code

201343239 (X'0C004107')


[ Previous | Next | Contents | Glossary | Home | Search ]