Create local copy of a map's memory handles, so that calls to CzMap::GetPixel
and CzMap::SetPixel
do not need to make API calls, and thereby execute more quickly.
Declaration | CzMap.h |
---|---|
Implementation | CzMap.cpp |
bool CzMap::OpenDirectInterface();
None.
True if successful, and false if an error occurred (consult event log for reason).
Please note that if you make changes to a design map, heightfield or water map after calling CzMap::OpenDirectInterface
, you need to call CzMap::SetMinMaxAlt(0,0)
to reset the minimum and maximum altitude of the map.