| 339 | } |
| 340 | |
| 341 | std::string |
| 342 | NodeMetadata::getComponentsType(int inputNb) const |
| 343 | { |
| 344 | if (inputNb == -1) { |
| 345 | return _imp->outputData.componentsType; |
| 346 | } else { |
| 347 | if ( inputNb < (int)_imp->inputsData.size() ) { |
| 348 | |
| 349 | return _imp->inputsData[inputNb].componentsType; |
| 350 | } else { |
| 351 | return kNatronColorPlaneID; |
| 352 | } |
| 353 | } |
| 354 | } |
| 355 | |
| 356 | void |
| 357 | NodeMetadata::setOutputFormat(const RectI& format) |
no test coverage detected