GPBSCD (color) |
Purpose
Use GPBSCD to insert a Set Back Specular Color Direct structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Set Back Specular Color Direct structure element depending on the current edit mode.
This structure element specifies the color values that the graPHIGS API uses for the specular highlights at structure traversal time. The specular highlights are produced by lighting calculations in area geometries.
Face distinguish mode (GPFDMO) must be set to 2=COLOR_SURFACE_PROPERTIES If the face distinguish mode is 1=NONE , then the graPHIGS API uses the current specular color in lighting calculations for back facing portions of subsequent surfaces.
This attribute sets the same traversal state as the Set Back Specular Color Index (GPBSCI) subroutine. The traversal default for back specular color is the content of entry 1 of the rendering color table.
Parameters
Error Codes
Related Subroutines
RCP code
201343501 (X'0C00420D')