

def __shaderCreator(name, nodeType):
    shader = nodeType(name)
    shader.loadShader(name)
    return shader

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferArnoldUI/ShaderMenu.py __shaderCreator/original