MCPcopy Create free account
hub / github.com/MrKepzie/Natron / getComponentsType

Method getComponentsType

Engine/NodeMetadata.cpp:340–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

getMetadataComponentsMethod · 0.80
checkMetadataMethod · 0.80
onMetadataRefreshedMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected