Specifies whether flat shading (per-polygon) or smooth shading (per-vertex) is in effect.
More...
Specifies whether flat shading (per-polygon) or smooth shading (per-vertex) is in effect.
Definition at line 29 of file shadeModelAttrib.h.
| int ShadeModelAttrib::compare_to_impl |
( |
const RenderAttrib * |
other | ) |
const [protected, virtual] |
Intended to be overridden by derived ShadeModelAttrib types to return a unique number indicating whether this ShadeModelAttrib is equivalent to the other one.
This should return 0 if the two ShadeModelAttrib objects are equivalent, a number less than zero if this one should be sorted before the other one, and a number greater than zero otherwise.
This will only be called with two ShadeModelAttrib objects whose get_type() functions return the same.
Reimplemented from RenderAttrib.
Definition at line 86 of file shadeModelAttrib.cxx.