Click or drag to resize
SoBufferedShapeshapeUsage Property

Defines the usage of the shape.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public SoSFEnum<SoBufferedShapeUsages> shapeUsage { get; }

Property Value

Type: SoSFEnumSoBufferedShapeUsages
Remarks

The graphics driver can make some optimizations if it knows the usage of the shape. Most of the time if we update only a small part of the buffer objects attached to the shape on a regular basis we prefer DYNAMIC, otherwise we prefer STATIC.

STATIC provides the best performance even if we update the buffers on a per frame basis, as long as we are replacing the contents of the buffer using the SET access mode.

This field does not have any effect if the specified buffer objects are SoGLBufferObjects, because the static/dynamic behaviour is set on each buffer object.

. The default value is STATIC.

NOTE: field available since Open Inventor 9.2

See Also