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: 10.12.3.0 (10.12.3.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 an offscreen floating point buffer, and copy the resulting image to the screen.

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

Using floating point rendering can improve image quality, particularly when many objects are being blended, for example, in volume rendering. This is a convenience method as you could accomplish the same results setting up a graphic template.

See Also