Click or drag to resize
SoSFImageToRasterImage Method (Boolean)

Returns an instance of OIV.Inventor.Image.SbRasterImage filled with the content of this field.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public SbRasterImage ToRasterImage(
	bool downSample
)

Parameters

downSample
Type: SystemBoolean

Return Value

Type: SbRasterImage
Remarks

It is useful to save the result of an SoRenderToTexture operation in feedback mode. The caller is responsible of the release of the returned raster image.

When the content is not of type UNSIGNED_BYTE the data is downsampled to UNSIGNED_BYTE unless the downSample parameter is set to false.

Returns NULL if the content cannot be converted to an OIV.Inventor.Image.SbRasterImage.

See Also