L3DT documentation
Large 3D terrain generator

CzMap::OpenDirectInterface

Description

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.

Files

Declaration CzMap.h
Implementation CzMap.cpp

Function prototype

bool CzMap::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 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.

 
zeolite/functions/czmap_opendirectinterface.txt · Last modified: 2017/08/31 06:57 (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