25#ifndef _SO_INSTANCE_PARAMETER_H_
26#define _SO_INSTANCE_PARAMETER_H_
203 static void initClass();
206 static void exitClass();
209 virtual void notify(SoNotList *list);
212 virtual unsigned int getVertexAttribDivisor() {
return divisor.
getValue(); }
#define SO_NODE_HEADER(className)
Class for smart character strings.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Per-instance par...
PredefinedParameters
List of predefined per-instance attribute names.
@ NUM_PREDEFINED_PARAMETERS
SoSFUInt32 divisor
This field modifies the rate at which values advance during multiple instance rendering.
static SoInstanceParameter * createPredefinedParameter(SoInstanceParameter::PredefinedParameters paramKey, const SoBufferObject *values, uint32_t divisor=1)
Creates an instance parameter object for one of the predefined attribute names.
static SbString getPredefinedParameterName(SoInstanceParameter::PredefinedParameters paramKey)
Returns the predefined instance parameter name for the specified paramKey.
void setPredefinedParameterName(SoInstanceParameter::PredefinedParameters paramKey)
Sets the name field to the string corresponding to the given paramKey.
SoInstanceParameter()
Constructor.
Field containing an unsigned int32_t integer.
uint32_t getValue() const
Returns this field's value.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Vertex shader pa...