using UnityEditor.Graphing.Drawing; using UnityEngine.MaterialGraph; namespace UnityEditor.MaterialGraph.Drawing { public class MaterialGraphPresenter : AbstractGraphPresenter { protected MaterialGraphPresenter() { typeMapper[typeof(AbstractMaterialNode)] = typeof(MaterialNodePresenter); typeMapper[typeof(ColorNode)] = typeof(ColorNodePresenter); typeMapper[typeof(TextureNode)] = typeof(TextureNodePresenter); typeMapper[typeof(TextureLODNode)] = typeof(TextureLODNodePresenter); typeMapper[typeof(CubemapNode)] = typeof(CubeNodePresenter); typeMapper[typeof(UVNode)] = typeof(UVNodePresenter); typeMapper[typeof(Vector1Node)] = typeof(Vector1NodePresenter); typeMapper[typeof(Vector2Node)] = typeof(Vector2NodePresenter); typeMapper[typeof(Vector3Node)] = typeof(Vector3NodePresenter); typeMapper[typeof(Vector4Node)] = typeof(Vector4NodePresenter); typeMapper[typeof(SubGraphNode)] = typeof(SubgraphNodePresenter); typeMapper[typeof(RemapMasterNode)] = typeof(RemapMasterNodePresenter); typeMapper[typeof(MasterRemapInputNode)] = typeof(RemapInputNodePresenter); typeMapper[typeof(AbstractSubGraphIONode)] = typeof(SubgraphIONodePresenter); typeMapper[typeof(AbstractSurfaceMasterNode)] = typeof(SurfaceMasterPresenter); typeMapper[typeof(LevelsNode)] = typeof(LevelsNodePresenter); typeMapper[typeof(ConstantsNode)] = typeof(ConstantsNodePresenter); typeMapper[typeof(SwizzleNode)] = typeof(SwizzleNodePresenter); typeMapper[typeof(BlendModeNode)] = typeof(BlendModeNodePresenter); typeMapper[typeof(AddManyNode)] = typeof(AddManyNodePresenter); } } }