SoWinGLWidgetSetFloatingColorBuffer Method (Boolean, SoWinGLWidgetFloatColorBufferSizes) |
Enables/disables floating point rendering using 16- or 32-bit components.
Namespace: OIV.Inventor.Win
public void SetFloatingColorBuffer( bool enable, SoWinGLWidgetFloatColorBufferSizes size )
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 getFloatingColorBuffer, 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.