Click or drag to resize
SoBufferedShapetexCoordsStride Property

Stride in bytes between the first component of two consecutive texture coordinates.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SoMFInt32 texCoordsStride { get; }

Property Value

Type: SoMFInt32
Remarks

Default is 0. e.g: If each element is composed of 2 float components the stride should be 2 * sizeof(float). If vertices are packed in the same buffer the stride should be 2 * sizeof(float) + 3 * sizeof(float), the second part stands for the extra data padding.

Note: When the values are packed (only texture coordinates in the buffer) the value 0 can be used and OpenGL will compute the stride value.

See Also