Hello All:
I am curious where to find the bit vector definitions for the
setNodeMask. I have used it for things like all or nothing so set it
to 0xffffffff or 0 for no traversal but I am now curious to know if
you can do things like update traverse only or maybe update cull only
or maybe just event visitor only, .... etc, or do we just use our own
bit vector setup so that the following executes the way we want:
inline bool validNodeMask(const osg::Node& node) const
{
return (getTraversalMask() & (getNodeMaskOverride() |
node.getNodeMask()))!=0;
}
Was just seeing if there was already a pre defined bit types that are
ored together or is it up to us to define the bits to do what we want.
Thank you for any insight and take care
Garrett
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org