Table of Contents
map_GetMipmapLevelDescriptionGet a mipmap (as a ZMAP handle) for a given map. Function prototypeZMAP CExtAPI::map_GetMipmapLevel(ZMAP hMap, long MipLevel); Arguments
Return valueA null pointer if the desired mipmap does not exist, or if an error occurred. Otherwise, a non-null handle to a map variable is returned. CommentsMipLevelMipLevel is the ratio of the side-lengths of the full-resolution map (referenced by hMap) to the side-lengths of the desired mipmap. So, for example, if you want to retrieve the mipmap that is one-quarter of the resolution of the full-res map, enter a MipLevel if 4. Note, however, that not all values of MipLevel are allowed. Allowed values are given by: MipLevel = ResStep ^ n Where:
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
|