SbRasterImage Constructor (SbVec2i32, SbRasterImageComponents, SoBufferObject) |
Constructor that initializes with an image.
Namespace: OIV.Inventor.ImageAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public SbRasterImage(
SbVec2i32 size,
SbRasterImageComponents components,
SoBufferObject bufferObject
)
Public Sub New (
size As SbVec2i32,
components As SbRasterImageComponents,
bufferObject As SoBufferObject
)
public:
SbRasterImage(
SbVec2i32 size,
SbRasterImageComponents components,
SoBufferObject^ bufferObject
)
new :
size : SbVec2i32 *
components : SbRasterImageComponents *
bufferObject : SoBufferObject -> SbRasterImage
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