GPSCI (index) |
Purpose
Use GPSCI to insert a Set Specular Color 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 Specular Color Index structure element depending on the current edit mode.
This structure element specifies the color values that the graPHIGS API uses at structure traversal time for the specular highlights produced by lighting calculations on area geometries.
If the face distinguish mode is 1=NONE , then the graPHIGS API uses the color values on both the front facing and back facing surfaces. If the face distinguish mode is set to 2=COLOR_SURFACE_PROPERTIES , then the graPHIGS API uses the color values on the front facing portions only.
This attribute sets the same traversal state as the Set Specular Color Direct (GPSCD) subroutine. The traversal default for specular color is a color index value of 1.
If the workstation does not support the specified specular color index, then the color index defaults to a value of 1.
Parameters
Error Codes
Related Subroutines
RCP code
201343496 (X'0C004208')