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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com