Returns the index for the named input.
- Parameters
-
| tool | Tool object. |
| name | String name of input data set. |
- Returns
- Index of input data with matching name; index 0 is reserved for the primary data inputs, including BOTTOM/RIGHT. (see GDK_DATA_PRIMARY_INPUT_INDEX). If available, index >= GDK_DATA_SECONDARY_INPUT_START_INDEX is reserved for the secondary input data (eg. parameters, features etc).