The callback prototype used with foreach_layer for iterating all the layers
of a pipeline.
| pipeline |
The Pipeline whos layers are being iterated |
| layer_index |
The current layer index |
| user_data |
The private data passed to foreach_layer |