PathEngine home previous: iMesh::heightAtPositionWithPrecision()next: iMesh::loadPath()
Contents, API Reference, Interfaces, iMesh, loadConnectedRegionPreprocessFor

iMesh::loadConnectedRegionPreprocessFor()

Description

Loads connected region preprocess from persistent storage.

Syntax

void loadConnectedRegionPreprocessFor(const iShape& shape, char const * data_Buffer, uint32_t data_BufferEntries);

Parameters

shape The shape for which preprocess should be loaded.
data_Buffer, data_BufferEntries (See Passing Arrays.) The data buffer to load from.

Requirements

The shape must be identical to the shape for which the preprocess was originally saved.

Unobstructed space data must be present for this shape, and identical to the unobstructed space data against which the preprocess was originally generated.

Connected region preprocess must not already be present for this shape on this mesh.

Remarks

The buffer passed in must contain data previously saved out by iMesh::saveConnectedRegionPreprocessFor().

This method can be called where you would previously have called iMesh::generateConnectedRegionPreprocessFor(), to save time generating preprocess.

The structure of PathEngine's connected region preproces may be changed between releases.
iPathEngine::connectedRegionPreprocessVersionIsCompatible() can be used to check whether preprocess saved out of an older release can be loaded into the current release.

C# Mapping

void loadConnectedRegionPreprocessFor(Shape shape, byte[] data);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iMesh::loadPath()