SoVertexAttributeElement.3coin4 - Man Page



Inherits SoAccumulatedElement.

Inherited by SoGLVertexAttributeElement.

Public Types

typedef const char * Key
typedef SoVertexAttributeData * Type
typedef void AttributeApplyFunc(const Key &key, const Type &obj, void *closure)

Public Member Functions

virtual void init (SoState *state)
virtual void push (SoState *state)
unsigned int getNumAttributes (void) const
void applyToAttributes (AttributeApplyFunc *func, void *closure) const

Static Public Member Functions

static SoType getClassTypeId (void)
static int getClassStackIndex (void)
static void * createInstance (void)
static void initClass (void)
static void add (SoState *const state, SoVertexAttributeData *attribdata)
static const SoVertexAttributeElement * getInstance (SoState *const state)

Protected Member Functions

virtual void addElt (SoVertexAttributeData *attribdata)

Additional Inherited Members

Member Function Documentation

void * SoVertexAttributeElement::createInstance (void) [static]

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.

void SoVertexAttributeElement::init (SoState * state) [virtual]

This function initializes the element type in the given SoState. It is called for the first element of each enabled element type in SoState objects.

Reimplemented from SoAccumulatedElement.

Reimplemented in SoGLVertexAttributeElement.

void SoVertexAttributeElement::push (SoState * state) [virtual]

Overridden to copy vertex attributes and node ids.

Reimplemented from SoAccumulatedElement.

void SoVertexAttributeElement::addElt (SoVertexAttributeData * attribdata) [protected], [virtual]

Reimplemented in SoGLVertexAttributeElement.


Generated automatically by Doxygen for Coin from the source code.


Wed Jul 20 2022 Version 4.0.0 Coin