DatasetFileCacheDelegate

Description

[OwnerReturn]
delegate Tinman.Terrain.Datasets.DatasetFileCacheDelegate

file : IFile

The dataset file.

returns → DatasetFileCache

The dataset file cache to use or null to disable file caching.

Returns the DatasetFileCache instance that shall be used for the given dataset file.

Use of a DatasetFileCacheDelegate is optional. The same result can be achieved by calling the IDataset.UseCache method on an open dataset.