SoDataCompressorCompress Method |
Compresses the given buffer into the internal buffer.
Namespace: OIV.LDM.CompressorsAssembly: OIV.LDM (in OIV.LDM.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public ulong Compress(
SbNativeArray<byte> src,
ulong srcLen,
SoDataCompressorTileInfo tileInfo
)
Public Function Compress (
src As SbNativeArray(Of Byte),
srcLen As ULong,
tileInfo As SoDataCompressorTileInfo
) As ULong
public:
unsigned long long Compress(
SbNativeArray<unsigned char>^ src,
unsigned long long srcLen,
SoDataCompressorTileInfo tileInfo
)
member Compress :
src : SbNativeArray<byte> *
srcLen : uint64 *
tileInfo : SoDataCompressorTileInfo -> uint64
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:
UInt64The size in bytes of the compressed buffer.
Remarks See Also