class HT_Shape_Color


See Also

For more information, see chapter 10, "The Shape Engine,"  HT_Shape, HT_Marker_Shape, HT_Fill_Shape, HT_Line_Shape, HT_Shape_Types, HT_Shape_Engine. Synopsis
class  {
    public:
        enum Enum {
            Uniform,
            Colorized,
            Gouraud,
            Phong,

            Count,

            Per_Segment = Colorized,
            Per_Vertex = Gouraud,
            Per_Pixel = Phong,

            Undefined = -1
        };

     ENUM_CLASS_FUNCTIONS (HT_Shape_Color)
};
Details Uniform indicates a single color to be used, and simply overrides the rendition color. Colorized means that there should be a color per segment. Gouraud indicates a color per vertex to be interpolated.