Definition at line 29 of file shaderAttrib.h.
| int ShaderAttrib::compare_to_impl |
( |
const RenderAttrib * |
other | ) |
const [protected, virtual] |
Intended to be overridden by derived ShaderAttrib types to return a unique number indicating whether this ShaderAttrib is equivalent to the other one.
This should return 0 if the two ShaderAttrib 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 ShaderAttrib objects whose get_type() functions return the same.
Reimplemented from RenderAttrib.
Definition at line 451 of file shaderAttrib.cxx.