Table of Contents

map_GetMipmapMaxLevel

Description

Get the maximum mipmap level for a given map. This function is used for bounds checking in calls to map_GetMipmapLevel.

Function prototype

long CExtAPI::map_GetMipmapMaxLevel(ZMAP hMap);

Arguments

Name Type Comment
hMap ZMAP A handle to a map, the maximum mipmap level of which is to be retrieved.

Return value

Zero if the map has no mipmaps, and a value larger than 1 otherwise.

Comments

None.