SoBufferedShapecolorStride Property |
Stride in bytes between the first component of two consecutive colors.
Namespace: OIV.Inventor.Nodes
Default is 0. e.g: If the colors are composed of 3 float components the stride should be 3 * sizeof(float). If vertices are packed in the same buffer the stride should be 3 * sizeof(float) + 3 * sizeof(float), the second part stands for the extra data padding.
Note: When the values are packed (only color values in the buffer) the value 0 can be used and OpenGL will compute the stride value.