SoSFImage3GetBufferObject Method (SbVec3i32, Int32, SoSFImageDataTypes) |
Returns the pixels in the image as a buffer object.
Namespace: OIV.Inventor.FieldsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public SoBufferObject GetBufferObject(
out SbVec3i32 size,
out int nc,
out SoSFImageDataTypes dataType
)
Public Function GetBufferObject (
<OutAttribute> ByRef size As SbVec3i32,
<OutAttribute> ByRef nc As Integer,
<OutAttribute> ByRef dataType As SoSFImageDataTypes
) As SoBufferObject
public:
SoBufferObject^ GetBufferObject(
[OutAttribute] SbVec3i32% size,
[OutAttribute] int% nc,
[OutAttribute] SoSFImageDataTypes% dataType
)
member GetBufferObject :
size : SbVec3i32 byref *
nc : int byref *
dataType : SoSFImageDataTypes byref -> SoBufferObject
Parameters
- size
- Type: OIV.InventorSbVec3i32
- nc
- Type: SystemInt32
- dataType
- Type: OIV.Inventor.FieldsSoSFImageDataTypes
Return Value
Type:
SoBufferObjectRemarks The size and nc arguments are filled in with the dimensions of the image and the number of components in the image; the number of bytes in the array returned will be size [0]* size [1]* size [2]* nc *sizeof(<dataType>).
See Also