How to do frustum culling with instancedMesh?

Cool! Can you explain some more how this code works?