Macaw OS C reference

Function probeenv

#include <macawlevel.h>
int probeenv(int probe);

Gives a baked probe's cube map. It's the same kind of number <macawgpu.h>'s gpu_envmap gives, so gpu_envpixels and gpu_envmapbytes can keep it as bytes and make it again.

Parameters

probeint
The probe's number.

Returns int

The cube map's number, or 0 if the probe isn't baked yet.

In Reflection probes, with bakeprobes, levelprobelimit, probecount, probeat, newprobe, probepos, probebake, probebaked, levelsetprobes, levelprobedata, applylevelprobes.