L3DT documentation
Large 3D terrain generator

zmap_GetMipmapResStep

Description

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

Files

Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

long zmap_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 zmap_GetMipmapLevel is 4, the next is 16, after that is 64, and so on up to the maximum mipmap level given by zmap_GetMipmapMaxLevel.

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