#include <osg/ref_ptr>
#include <osg/Array>
#include <osg/Matrixd>
Go to the source code of this file.
◆ DISPATCH_OR_ACTIVATE
#define DISPATCH_OR_ACTIVATE |
( |
|
array, |
|
|
|
dispatcher |
|
) |
| |
Value: if (array) { \
unsigned int binding = array->getBinding(); \
if (binding==osg::Array::BIND_OVERALL) \
{ \
AttributeDispatch* at = dispatcher; \
if (at) (*at)(0); \
} \
else if (binding==osg::Array:: BIND_PER_PRIMITIVE_SET) \
{ \
AttributeDispatch* at = dispatcher; \
if (at) _activeDispatchList.push_back(at); \
} \
}
◆ OSG_ATTRIBUTEDISPATCHERS
#define OSG_ATTRIBUTEDISPATCHERS 1 |