Click or drag to resize
SbRasterImage Constructor (SbVec2i32, SbRasterImageComponents, SoBufferObject)

Constructor that initializes with an image.

Namespace: OIV.Inventor.Image
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public SbRasterImage(
	SbVec2i32 size,
	SbRasterImageComponents components,
	SoBufferObject bufferObject
)

Parameters

size
Type: OIV.InventorSbVec2i32
components
Type: OIV.Inventor.ImageSbRasterImageComponents
bufferObject
Type: OIV.Inventor.DevicesSoBufferObject
Remarks

Image data is assumed to be packed (no padding between pixels or rows) and pixel components are assumed to be in RGBA order.

See Also