Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue357 #361

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Nodes/VVVV.DX11.Nodes/Nodes/Generics/ConsNodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ namespace VVVV.DX11.Nodes
[PluginInfo(Name = "Cons", Category = "DX11.Geometry", Author = "vux")]
public class ConsGeometryNode : DX11ResourceConsNode<IDX11Geometry> { }

[PluginInfo(Name = "Cons", Category = "DX11.IndexedGeometry", Author = "vux")]
public class ConsIndexedGeometryNode : DX11ResourceConsNode<DX11IndexedGeometry> { }

[PluginInfo(Name = "Cons", Category = "DX11.Texture", Version = "3d", Author = "vux")]
public class ConsTexture3DNode : DX11ResourceConsNode<DX11Texture3D> { }

Expand All @@ -24,6 +27,12 @@ public class ConsTexture1DNode : DX11ResourceConsNode<DX11Texture1D> { }
[PluginInfo(Name = "Cons", Category = "DX11.Buffer", Version = "", Author = "vux")]
public class ConsBufferNode : DX11ResourceConsNode<IDX11ReadableStructureBuffer> { }

[PluginInfo(Name = "Cons", Category = "DX11.Buffer RedableResource", Version = "", Author = "vux")]
public class ConsBufferResourceNode : DX11ResourceConsNode<DX11RawBuffer> { }

[PluginInfo(Name = "Cons", Category = "DX11.BufferRAW", Version = "", Author = "vux")]
public class ConsBufferRAWNode : DX11ResourceConsNode<IDX11Buffer> { }

[PluginInfo(Name = "Cons", Category = "DX11.ResourceSemantic", Version = "", Author = "vux")]
public class ConsResourceSemanticNode : DX11ResourceConsNode<IDX11RenderSemantic> { }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class IndexIndirectDrawerBufferNode : IPluginEvaluate, IDX11ResourceHost
[Output("Geometry Out")]
protected ISpread<DX11Resource<DX11IndexedGeometry>> FOutGeom;

bool invalidate = false;
bool invalidate;

public void Evaluate(int SpreadMax)
{
Expand Down Expand Up @@ -82,8 +82,6 @@ public void Update(DX11RenderContext context)
geom.AssignDrawer(ind);

ind.Update(context, this.FInCnt[i]);

this.invalidate = false;
}
else
{
Expand Down Expand Up @@ -111,6 +109,8 @@ public void Update(DX11RenderContext context)
this.FOutGeom[i][context] = geom;
}

this.invalidate = false;

}

public void Destroy(DX11RenderContext OnDevice, bool force)
Expand Down