TmmT_Terrain_Reader_Num_Source_Steps_Proc
Note: Requires Terrain Modeling Module functionality
Abstract
Callback: Called to obtain the number of steps required to load a particular data source.
Syntax
<terrain_reader_num_source_steps_proc_name> (terrain_type, source_path)
| Argument | Type | Description |
|---|---|---|
terrain_type |
struct TmmT_Terrain_Type * |
Terrain handler of interest |
source_path |
const char * |
Path to the terrain source file or directory |
Return Value
VosT_uInt32
Number of steps, or -1 if unknown.
Header
tmm.h
Details
This callback should return the number of steps required to load a particular data source (for instance, one step per file if files in a directory are loaded individually).
Purpose
Callback used to obtain the number of steps required to load a particular data source. TMM uses this callback when loading multiple terrain files from a directory to show progress through each terrain source.