Macaw OS C reference

Function gpu_freeenvmap

#include <macawgpu.h>
void gpu_freeenvmap(int env);

Lets go of a cube map you've finished with.

Parameters

envint
The cube map, from gpu_envmap. 0, or one already let go, is ignored.

In Baked reflections, with gpu_envmap, gpu_envmapbytes, gpu_envloaded, gpu_envunload, gpu_envpixels.