public DX11ImageShaderNode(IPluginHost host, IIOFactory factory) { this.FHost = host; this.FFactory = factory; this.TechniqueEnumId = Guid.NewGuid().ToString(); InputAttribute inAttr = new InputAttribute("Technique"); inAttr.EnumName = this.TechniqueEnumId; //inAttr.DefaultEnumEntry = defaultenum; inAttr.Order = 1000; this.FInTechnique = this.FFactory.CreateDiffSpread<EnumEntry>(inAttr); this.varmanager = new DX11ImageShaderVariableManager(host, factory); }
public DX11ImageShaderNode(IPluginHost host, IIOFactory factory) { this.FHost = host; this.FFactory = factory; this.TechniqueEnumId = Guid.NewGuid().ToString(); InputAttribute inAttr = new InputAttribute("Technique"); inAttr.EnumName = this.TechniqueEnumId; //inAttr.DefaultEnumEntry = defaultenum; inAttr.Order = 1000; this.FInTechnique = this.FFactory.CreateDiffSpread <EnumEntry>(inAttr); this.varmanager = new DX11ImageShaderVariableManager(host, factory); }