This controls the enabling of transparency.
Simply setting an alpha component to non-1 does not in itself make an object transparent; you must also enable transparency mode with a suitable TransparencyAttrib. Similarly, it is wasteful to render an object with a TransparencyAttrib in effect unless you actually want it to be at least partially transparent (and it has alpha components less than 1).
Definition at line 36 of file transparencyAttrib.h.
||const RenderAttrib *
Intended to be overridden by derived TransparencyAttrib types to return a unique number indicating whether this TransparencyAttrib is equivalent to the other one.
This should return 0 if the two TransparencyAttrib 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 TransparencyAttrib objects whose get_type() functions return the same.
Reimplemented from RenderAttrib.
Definition at line 103 of file transparencyAttrib.cxx.