Post Image Effects
Post Processing is part of Realsoft 3D rendering pipeline. Image Effect layer manages post image effect objects that can be applied to the rendered image.
To enumerate post effects in the material layer:
int print_imageeffects(R3OBJ *obj, void *hook_data)
{
char *name;
R3CLID clid;
R3GetAttrs(obj,
R3T(R3RA_Name, &name),
R3T(R3RA_ClassID, &clid),
R3TAG_END);
printf("found effect name=%s clid=%d\n", name, clid);
}
R3DoA(imgefflayer, R3OLAYM_LOCKSHARED, NULL);
R3Do(imgefflayer, R3OLAYM_ENUMOBJECTS,
R3T(R3RA_Hook, print_effect),
R3T(R3RA_HookData, NULL),
R3TAG_END);
R3DoA(imgefflayer, R3OLAYM_RELEASED, NULL);