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

Method setComponentsType

Engine/NodeMetadata.cpp:328–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

getPreferredMetadataMethod · 0.80
getDefaultMetadataMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected