Click or drag to resize
SoOffscreenRendererSetColorDepth Method

Sets the color depth to be used for offscreen rendering.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public void SetColorDepth(
	int nbits
)

Parameters

nbits
Type: SystemInt32
Remarks

Currently the only values allowed are 8 and 24 (the default is 24). This feature is useful if you want to do 256 color dithered rendering for printing. The change does not take effect until the next render() or setupPixmap () call.

Note: WriteToBMP does not currently support 256 color bitmaps.

See Also