Table of Contents

format_SetFlags

Description

This function has been deprecated. Please use format_SetFlags2 instead.

Set the file format capabilities flags (native/non-native, and mosaic/non-mosaic).

Function prototype

bool CExtAPI::format_SetFlags(ZFORMAT hFormat, bool Native, bool Mosaic);

Arguments

Name Type Comment
hFormat ZFORMAT A ZFORMAT handle, the flags of which are to be set.
Native bool This may be true only if the format can read and write maps with no (or minimal) data loss. If this is a heightfield format, the file must preserve vertical scaling information, and have a precision of at least 16-bits. If this is false, the format will only be used for import and/or export.
Mosaic bool This may be true only if the file input/output plugin responsible for writing this function can read and/or write mosaic map files (i.e. it must have ExtSaveTileFile or ExtLoadTileFile in the exports list).

Return value

False if an error occurred, and true otherwise.

Comments

None.