SbRasterImage Constructor (SbVec2i32, SbRasterImageComponents, SoBufferObject) |
Constructor that initializes with an image.
Namespace: OIV.Inventor.ImageAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.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