public void RegisterType(string type, ShaderPinCreateDelegate creator) { delegates[type] = creator; }
public CustomPin(string name, string semantic, bool array, ShaderPinCreateDelegate <T> pindelegate) { this.Delegate = pindelegate; this.Name = name; this.Semantic = semantic; this.Array = array; }
public void RegisterType(string type, string semantic, bool array, ShaderPinCreateDelegate <T> creator) { CustomPin cp = new CustomPin(type, semantic, array, creator); custompins.Add(cp); }