Macaw OS C reference

Function bakeprobes

#include <macawlevel.h>
int bakeprobes(int level);

Bakes any of a level's own probes that aren't baked yet, a little at a time. Call it once a frame until it returns 1; each call draws one of a probe's six views, so it never holds things up. If nothing in the level is shiny, there's nothing to do.

Parameters

levelint
The level whose probes to bake.

Returns int

1 once all are done (or there's nothing to bake), or 0 while there's more to do.

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