LayerList
Defines multi project environment, in other words, a list of layers. Each layer in the list is an object managing geometric objects, materials, post effects etc. that are needed to describe project.
To fetch the current layer:
R3OBJ *currentlayer;
R3GetAttrs(layerlist,
R3T(R3LAYLA_CurrentLayer, ¤tlayer),
R3TAG_END);