Click or drag to resize
SoWinGLWidgetSetFloatingColorBuffer Method (Boolean, SoWinGLWidgetFloatColorBufferSizes)

Enables/disables floating point rendering using 16- or 32-bit components.

Namespace: OIV.Inventor.Win
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2025.1.0.0 (10.17.0.0)
Syntax
public void SetFloatingColorBuffer(
	bool enable,
	SoWinGLWidgetFloatColorBufferSizes size
)

Parameters

enable
Type: SystemBoolean
size
Type: OIV.Inventor.WinSoWinGLWidgetFloatColorBufferSizes
Remarks

If true, Open Inventor will automatically render to a floating point color buffer.

To determine if floating point rendering was successfully enabled, use OIV.Inventor.Win.SoWinGLWidget.GetFloatingColorBuffer(System.Boolean@, OIV.Inventor.Win.SoWinGLWidget.FloatColorBufferSizes@).

Using floating point rendering can improve image quality, particularly when many objects are being blended.

See Also