L3DT documentation
Large 3D terrain generator

map_GetMipmapResStep

Description

Get the resolution step factor between successive mipmaps for a given map.

Function prototype

long CExtAPI::map_GetMipmapResStep(ZMAP hMap);

Arguments

Name Type Comment
hMap ZMAP A handle to a map variable, the mipmap resolution step factor of which is to be retrieved.

Return value

An integer greater than one if mipmaps have been initialised. Otherwise, zero is returned.

Comments

As an example; if a value of 4 is returned by this function, it means that the first mipmap level that can be accessed by map_GetMipmapLevel is 4, the next is 16, after that is 64, and so on up to the maximum mipmap level given by map_GetMipmapMaxLevel.

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