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

Method getComponentsType

Engine/NodeMetadata.cpp:341–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341std::string
342NodeMetadata::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
356void
357NodeMetadata::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