See the RSL environment() function in the RenderMan documentation.

VOP nodes