Table of Contents

CzMapTile::OpenDirectInterface

Description

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.

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 CzMapTile::MarkChanged, or the changes may be lost when the tile is paged to disk.