L3DT documentation
Large 3D terrain generator

zproj_GetMap

Description

Retrieve a handle to a map layer from the application's project.

Files

Declaration zProj.h
Implementation zProj.cpp

Function prototype

ZMAP zproj_GetMap(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. See comments for legal values.

Return value

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

Comments

The following values of lpMapName are supported:

lpMapName Which map is it?
“DM” The design map.
“HF” The heightfield.
“WM” The water map.
“WS” The water salinity map.
“AM” The attributes map.
“TN” The terrain normals map.
“LM” The light map.
“SpecLM” The specular light map.
“TX” The texture map.

The names of any custom map layers in the project are also supported.

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