daily update on 20240620 by nitload youmu
This commit is contained in:
@@ -7,6 +7,7 @@ using StgSharp.Math;
|
||||
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Xml.XPath;
|
||||
|
||||
namespace StgSharp
|
||||
{
|
||||
@@ -63,23 +64,40 @@ namespace StgSharp
|
||||
<fboFrame,ParticleStream>(stream);
|
||||
Blueprint blueprint = new Blueprint();
|
||||
|
||||
BlueprintNode node0 = new BlueprintNode("BufferGenerateStream", rstream);
|
||||
BlueprintNode node1 = new BlueprintNode("MainRenderStream",stream);
|
||||
CrossFrameOperation cross = new CrossFrameOperation(() => Console.Beep(), 60 );
|
||||
|
||||
BlueprintNode node0 = new BlueprintNode("BufferGenerateStream", rstream,true);
|
||||
BlueprintNode node1 = new BlueprintNode("MainRenderStream",stream,true);
|
||||
BlueprintNode node2 = new BlueprintNode("Beep", cross,false);
|
||||
|
||||
node0.AddAfter(blueprint.BeginLayer,
|
||||
"input_1", "input_1");
|
||||
"port_1", "input_1");
|
||||
node0.AddBefore(node1,
|
||||
"output_1", "TextureInput");
|
||||
/**/
|
||||
node1.AddBefore(blueprint.EndLayer,
|
||||
"Output", "output_1");
|
||||
"Output", "port2");
|
||||
node2.AddAfter(blueprint.BeginLayer,
|
||||
"port_2", CrossFrameOperation.InputInterfacesName);
|
||||
/**/
|
||||
/*
|
||||
node1.AddBefore(node2,
|
||||
"Output", CrossFrameOperation.InputInterfacesName);
|
||||
node2.AddAfter(blueprint.BeginLayer,"input_2", CrossFrameOperation.InputInterfacesName);
|
||||
/**/
|
||||
node2.AddBefore(blueprint.EndLayer,
|
||||
CrossFrameOperation.OutputInterfacesName, "port_1");
|
||||
|
||||
blueprint.AddNativeNode(node0);
|
||||
blueprint.AddNativeNode(node1);
|
||||
blueprint.Init(0);
|
||||
blueprint.AddNode(node0,true);
|
||||
blueprint.AddNode(node1, true);
|
||||
blueprint.AddNode(node2, false);
|
||||
blueprint.Init();
|
||||
|
||||
BlueprintRunner.SetMaxTaskCount(1);
|
||||
|
||||
Console.WriteLine(2);
|
||||
|
||||
demoForm.RenderLogic = blueprint;
|
||||
demoForm.GeneralRenderLogic = blueprint;
|
||||
demoForm.Show();
|
||||
StgSharp.Terminate();
|
||||
/**/
|
||||
|
||||
@@ -14,7 +14,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("StgSharpDebug")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+be6c2e6b92a328d0b68af669d50e92dd9bbff42b")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7fb220c523c50504348a6b44e526999a45b4c242")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("StgSharpDebug")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("StgSharpDebug")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"documents":{"D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\*":"https://raw.githubusercontent.com/Nitload-NSI/CCD_Github/be6c2e6b92a328d0b68af669d50e92dd9bbff42b/*"}}
|
||||
{"documents":{"D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\*":"https://raw.githubusercontent.com/Nitload-NSI/CCD_Github/7fb220c523c50504348a6b44e526999a45b4c242/*"}}
|
||||
Reference in New Issue
Block a user