Click or drag to resize
SbRasterImageSetBuffer Method (Byte, SbRasterImageCopyPolicies)

Note: This API is now obsolete.

Sets the pixel buffer of the raster image.

Namespace: OIV.Inventor.Image
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
[ObsoleteAttribute("Obsolete since Open Inventor 9400. Use SbRasterImage::setBuffer(SoBufferObject* bufferObject) instead.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public void SetBuffer(
	byte[] buffer,
	SbRasterImageCopyPolicies copy
)

Parameters

buffer
Type: SystemByte
copy
Type: OIV.Inventor.ImageSbRasterImageCopyPolicies
Remarks

By default, the memory policy is COPY. One of the NO_COPY options is the most likely to be efficient. For interoperability with other classes, pixel buffer must be packed and must respect the RGB ordering.

Caution note Caution

Obsolete since Open Inventor 9400. Use OIV.Inventor.Image.SbRasterImage.SetBuffer(OIV.Inventor.Devices.SoBufferObject) instead.

See Also