Custom Cryptomatte Render Pass

I am still looking for suggestions. Would be really nice to hear any other experiences with custom render passes as well. If anyone from the community has some experience to share about custom render passes please do let me know in a comment below. Super interested in the subject. Also I am new to C++ so some definitions would be beneficial :slight_smile:
Thank you so much everyone!