Create local copy of a map tile's memory handles, so that calls to CzMapTile::GetPixel
and CzMapTile::SetPixel
do not need to make API calls, and thereby execute more quickly.
Declaration | CzMapTile.h |
---|---|
Implementation | CzMapTile.cpp |
bool CzMapTile::OpenDirectInterface();
None.
True if successful, and false if an error occurred (consult event log for reason).
Please note that if you make changes to the tile data after calling CzMapTile::OpenDirectInterface
, you need to call CzMapTile::MarkChanged
, or the changes may be lost when the tile is paged to disk.