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

GPCPI - Set Color Processing Index

GPCPI (index)

Purpose

Use GPCPI to insert a Set Color Processing Mode structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Set Color Processing Mode structure element depending on the current edit mode.

This structure element specifies an entry in the workstation's color processing table. The attributes defined in the entry control the color processing (color quantization) applied to subsequent primitives.

The traversal default color processing index value is zero.

If the workstation does not support the specified index value or the specified index is outside the color processing table size, then the color processing index value defaults to zero.

Parameters

index -- specified by user, fullword integer

Color processing mode index (>=0)

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
265
COLOR PROCESSING INDEX < ZERO

Related Subroutines

GPCPR
Set Color Processing Representation
GPDCI
Set Depth Cue Index
GPDCR
Set Depth Cue Representation
GPQCPF
Inquire Color Processing Facilities
GPQRCM
Inquire Available Rendering Color Models

RCP code

201343492 (X'0C004204')


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