|
@@ -1,9 +1,10 @@
|
|
|
-using PixiEditor.DrawingApi.Core.Surface;
|
|
|
-using PixiEditor.DrawingApi.Core.Surface.PaintImpl;
|
|
|
+using PixiEditor.DrawingApi.Core.Surfaces;
|
|
|
+using PixiEditor.DrawingApi.Core.Surfaces.PaintImpl;
|
|
|
using PixiEditor.Numerics;
|
|
|
|
|
|
namespace PixiEditor.ChangeableDocument.Changeables.Graph.Nodes.FilterNodes;
|
|
|
|
|
|
+[NodeInfo("KernelFilter")]
|
|
|
public class KernelFilterNode : FilterNode
|
|
|
{
|
|
|
private readonly Paint _paint = new();
|
|
@@ -28,8 +29,6 @@ public class KernelFilterNode : FilterNode
|
|
|
OnAlpha = CreateInput(nameof(OnAlpha), "ON_ALPHA", false);
|
|
|
}
|
|
|
|
|
|
- protected override string NodeUniqueName => "KernelFilter";
|
|
|
-
|
|
|
protected override ImageFilter? GetImageFilter()
|
|
|
{
|
|
|
var kernel = Kernel.Value;
|