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

Method setComponentsType

Engine/NodeMetadata.cpp:329–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329void
330NodeMetadata::setComponentsType(int inputNb,const std::string& componentsType)
331{
332 if (inputNb == -1) {
333 _imp->outputData.componentsType = componentsType;
334 } else {
335 if ( inputNb < (int)_imp->inputsData.size() ) {
336 _imp->inputsData[inputNb].componentsType = componentsType;
337 }
338 }
339}
340
341std::string
342NodeMetadata::getComponentsType(int inputNb) const

Callers 3

getPreferredMetadataMethod · 0.80
getDefaultMetadataMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected