L3DT documentation
Large 3D terrain generator

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.

 
zeolite/functions/format_setflags.txt · Last modified: 2017/08/31 05:07 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki