L3DT documentation
Large 3D terrain generator

zproj_GetOrCreateMap

Description

Retrieve a handle to a map layer in the application's project. If the map layer is not found in the project, the map layer is created.

Files

Declaration zProj.h
Implementation zProj.cpp

Function prototype

ZMAP zproj_GetOrCreateMap(const char* lpMapName);

Arguments

Name Type Comment
lpMapName const char* A handle to a C-style string containing the name of the map to be retrieved or created.

Return value

Null if an error occurred, and a valid non-null ZMAP handle otherwise.

Comments

This function first calls zproj_GetMap, and if that fails, calls zproj_CreateMap. Please refer to the reference pages for those functions for more information.

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