Function gpu_envunload
#include <macawgpu.h>void gpu_envunload(int env);
Takes a cube map off the graphics card to save its memory. The next time you draw with it, it goes back a face a frame.
Parameters
envint- The cube map, from
gpu_envmap.
In Baked reflections, with gpu_envmap, gpu_envmapbytes, gpu_envloaded, gpu_envpixels, gpu_freeenvmap.