L3DT documentation
Large 3D terrain generator

zmap_tile_MarkChanged

Description

Mark a tile in a mosaic map as being modified, so that when the tile is paged out of memory the changes are saved to disk rather than discarded.

This function is required when the caller has directly modified the contents of a tile using zmap_tile_GetDataPtr. This function is not required if the map contents are changed using the zmap_SetPixel or zmap_tile_SetPixel functions, as these functions automatically mark the tile as being changed.

Files

Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zmap_tile_MarkChanged(void* hTile);

Arguments

Name Type Comment
hTile void* A handle to a tile, as retrieved by the zmap_GetMosaicTile function.

Return value

False if an error occurred, and true otherwise.

Comments

None.

 
zeolite/functions/zmap_tile_markchanged.txt · Last modified: 2017/08/31 04:49 (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