45class COIN_DLL_API SoVertexAttributeElement :
public SoAccumulatedElement {
46 typedef SoAccumulatedElement inherited;
47 SO_ELEMENT_HEADER(SoVertexAttributeElement);
51 virtual void init(SoState * state);
53 virtual void push(SoState * state);
54 static void add(SoState *
const state, SoVertexAttributeData * attribdata);
56 static const SoVertexAttributeElement * getInstance(SoState *
const state);
57 unsigned int getNumAttributes(
void)
const;
59 typedef const char * Key;
60 typedef SoVertexAttributeData * Type;
61 typedef void AttributeApplyFunc(
const Key & key,
const Type & obj,
void * closure);
62 void applyToAttributes(AttributeApplyFunc * func,
void * closure)
const;
65 virtual ~SoVertexAttributeElement();
67 virtual void addElt(SoVertexAttributeData * attribdata);
71 SoVertexAttributeElement(
const SoVertexAttributeElement & rhs);
72 SoVertexAttributeElement & operator = (
const SoVertexAttributeElement & rhs);