void pset_rend_colr_model(
Pint model /* rendering colour model */
)
A SET RENDERING COLOUR MODEL element is inserted in the open structure after element pointer or replaces the element indicated by element pointer, depending on edit mode. Element pointer then points to the SET RENDERING COLOUR MODEL element. The value specified by the parameter is associated with the element.
When an element of this type is interpreted, the current rendering colour model entry in the traversal state list is set to the value associated with the element. This value is used when displaying subsequent output primitives.
Rendering colour model values are as follows :
PMODEL_RGB
PMODEL_CIE
PMODEL_HSV
PMODEL_HLS
When an element of this type is interpreted, if the specified colour model is not available on a workstation, colour model PMODEL_RGB is used.
If GPHIGS is in NRS mode, the effect of this function is different from the effect described in the standard.
In NRS mode, (see OPEN PIPE), the element is not stored in a structure. It is sent to the workstation on which the pipe is opened.
open structure, open pipe (ext), inquire current element content, inquire current element type and size