Table of Contents

zmap_GetMipmapMaxLevel

Description

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

Files

Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zmap_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.