26 scan(node.
node(), RenderState::make_empty(), TransformState::make_identity());
53 INLINE
bool MultitexReducer::StageInfo::
54 operator < (
const MultitexReducer::StageInfo &other)
const {
55 if (_stage != other._stage) {
56 return _stage < other._stage;
58 if (_tex != other._tex) {
59 return _tex < other._tex;
61 if (_tex_mat != other._tex_mat) {
62 return _tex_mat->compare_to(*other._tex_mat,
true) < 0;
71 INLINE MultitexReducer::GeomInfo::
75 _geom_net_state(geom_net_state),
76 _geom_node(geom_node),
84 INLINE MultitexReducer::GeomNodeInfo::
void scan(const NodePath &node)
Starts scanning the hierarchy beginning at the indicated node.
get_parent
Returns the NodePath to the parent of the referenced node: that is, this NodePath,...
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
PandaNode * node() const
Returns the referenced node of the path.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
A node that holds Geom objects, renderable pieces of geometry.