How does setting the culling mask for a camera work?

I’ve got a basic understanding of bitwise operations, but I don’t get how setting the culling mask in code works.

I usually declare a public variable typed as LayerMask, then you can select it from a dropdown in the inspector, and avoid the bit stuff altogether :slight_smile: