SbRasterImageSetBuffer Method (SbNativeArrayByte, SbRasterImageCopyPolicies) |
Sets the pixel buffer of the raster image.
By default, the memory policy is COPY,
NO_COPY is the most likely to be efficient.
Namespace: OIV.Inventor.ImageAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public void SetBuffer(
SbNativeArray<byte> buffer,
SbRasterImageCopyPolicies copyPolicy
)
Public Sub SetBuffer (
buffer As SbNativeArray(Of Byte),
copyPolicy As SbRasterImageCopyPolicies
)
public:
void SetBuffer(
SbNativeArray<unsigned char>^ buffer,
SbRasterImageCopyPolicies copyPolicy
)
member SetBuffer :
buffer : SbNativeArray<byte> *
copyPolicy : SbRasterImageCopyPolicies -> unit
Parameters
- buffer
- Type: OIV.Inventor.GenericSbNativeArrayByte
- copyPolicy
- Type: OIV.Inventor.ImageSbRasterImageCopyPolicies
See Also