Sets the wrap mode for the 'p' coordinate of texture lookups on this layer.
'p' is the third coordinate.
| this |
A Pipeline object |
| layer_index |
the layer number to change. |
| mode |
the new wrap mode |