This is RenderMan 21 Documentation you are viewing. The Rmanwiki home page will redirect you to the current documentation.
PxrMatteID outputs matte AOVs for compositing.
Add a user attribute for MatteID0.
Set its type and color value.
In your RIS Network, add a PxrMatteID VOP. Set the color as the user attribute above.
Connect PxrMatteID's resultAOV to PxrSurface's Utility Pattern.
Set up AOV for Output