Macaw OS C reference

Function gpu_envloaded

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

Tells you whether all six faces of a cube map are on the graphics card yet. Nothing shows until they are.

Parameters

envint
The cube map, from gpu_envmap.

Returns int

1 if they're all there, 0 if not.

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