Iterates all the layer indices of the given this.
this |
A Pipeline object |
callback |
A PipelineLayerCallback to be called for each layer index |
user_data |
Private data that will be passed to the callback |