L3DT documentation
Large 3D terrain generator

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.

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