Macaw OS C reference

Function applylevelprobes

#include <macawlevel.h>
int applylevelprobes(int level, const void *data, int count);

Gives a built level's probes their cube maps from a .prb file's bytes, so they don't need baking again.

Parameters

levelint
A built level.
dataconst void *
The bytes, as levelprobedata gave them or as read from the .prb file.
countint
How many bytes are at data.

Returns int

1 if every probe got its cube map, or 0 if any didn't.

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