MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / _writeTwoArgumentCombine

Function _writeTwoArgumentCombine

python/Scripts/genmdl.py:196–199  ·  view source on GitHub ↗
(file, outputType)

Source from the content-addressed store, hash-verified

194 file.write(INDENT + 'return mxp_mat * mxp_in;\n')
195
196def _writeTwoArgumentCombine(file, outputType):
197 if outputType == 'color':
198 outputType = 'color3';
199 file.write(INDENT + 'return mk_' + outputType + '(mxp_in1, mxp_in2);\n')
200
201def _writeThreeArgumentCombine(file, outputType):
202 if outputType == 'color':

Callers 1

mainFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected