SoVertexAttribute1i¶
-
InventorModule
¶ genre Shader
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoShader
definition SoShader.def
Purpose¶
The module SoVertexAttribute1i
allows for providing a named vertex attribute to the SoVertexShader
shader.
Note that the number of values needs to match the number of vertices of the geometry that is rendered (as given by SoVertexProperty
, SoCoordinate3
, or SoCoordinate4
).
Vertex attributes are only supported if vertex array rendering is used,
which is the case for SoFaceSet
, SoIndexedTriangleSet
, SoIndexedFaceSet
, SoLineSet
, SoIndexedLineSet
, SoPointSet
nodes if the PER_VERTEX or PER_VERTEX_INDEXED mapping is used.