====== CzMapTile::OpenDirectInterface ====== ===== Description ===== Create local copy of a map tile's memory handles, so that calls to ''[[zeolite:functions:czmaptile_GetPixel|CzMapTile::GetPixel]]'' and ''[[zeolite:functions:czmaptile_SetPixel|CzMapTile::SetPixel]]'' do not need to make API calls, and thereby execute more quickly. ===== Files ===== ^ Declaration | ''CzMapTile.h'' | ^ Implementation | ''CzMapTile.cpp'' | ===== Function prototype ===== bool CzMapTile::OpenDirectInterface(); ===== Arguments ===== //None.// ===== Return value ===== True if successful, and false if an error occurred (consult event log for reason). ===== Comments ===== Please note that if you make changes to the tile data after calling ''CzMapTile::OpenDirectInterface'', you need to call ''[[zeolite:functions:CzMapTile_MarkChanged|CzMapTile::MarkChanged]]'', or the changes may be lost when the tile is paged to disk.