Click or drag to resize

GM_CombineTerrainLayers

Combines two loaded terrain layers using some operation (i.e. addition, subtraction, etc.) and creates a new terrain layer from the combined return. The returned new layer must be closed with GM_CloseLayer when you are done working with it.

Syntax
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_CombineTerrainLayers
(
const GM_GridCombineSetup_t*    aSetup,         // IN: Setup for operation
GM_LayerHandle_t32*             aCombinedLayer, // OUT: Layer handle for newly created combined layer
void*                           aReserved       // IN: Reserved for future use, must be NULL
)