Click or drag to resize
SoDataCompressorCompress Method

Compresses the given buffer into the internal buffer.

Namespace: OIV.LDM.Compressors
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public ulong Compress(
	SbNativeArray<byte> src,
	ulong srcLen,
	SoDataCompressorTileInfo tileInfo
)

Parameters

src
Type: OIV.Inventor.GenericSbNativeArrayByte

a pointer to the data to compress.

srcLen
Type: SystemUInt64

the size of the source buffer in bytes.

tileInfo
Type: OIV.LDM.CompressorsSoDataCompressorTileInfo

contains information about the tile being processed.

Return Value

Type: UInt64

The size in bytes of the compressed buffer.

Remarks

See Also