[Optix 6] Is there no rtGeometryGroupGetChildType?

A quick one this time!

For debugging I am working on a way to dump the whole scene with everything in it.

There is a rtGeometryGroupGetChild(), but how can I figure out what that child is?

(I imagine this to work similar to GroupGetChildType)

… never mind, the child can only be a geometryInstance