Channel Layer
Channel layer manages the user defined custom channel objects. These custom channels can be defined exactly the same way as any built-in channel, such as Color, Alpha, Transparency or Reflectivity.
R3OBJ *channels;
R3GetAttrs(currentlayer,
R3T(R3LAYLA_Channels, &channels),
R3TAG_END);