Generate the multi-resolution mipmaps for a given map. These mipmaps are smaller, sub-sampled versions used in level-of-detail algorithms such as texture rendering in Sapphire.
Declaration | Zeolite.h |
---|---|
Implementation | Zeolite.cpp |
bool zmap_GenMipMaps(ZMAP hMap, long ResStep, long MaxLevel, long TileSize);
Name | Type | Comment |
---|---|---|
hMap | ZMAP | A handle to the map variable for which mipmaps shall be generated. |
ResStep | long | The resolution step factor between successive mipmaps. Must be greater than 1. |
MaxLevel | long | The maximum mipmap level to ge generated. Must be equal to or greater than ResStep. |
TileSize | long | The tile size of the mosaics used to store the mipmaps. 512 is default. |
True if the operation succeeded, and false otherwise.
None.