summaryrefslogtreecommitdiff
path: root/modules/mono/editor/script_templates/VisualShaderNodeCustom/basic.cs
blob: bb482e0d6aaf4a9dd3da027c11d0aae0a343a16e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// meta-description: Visual shader's node plugin template

using _BINDINGS_NAMESPACE_;
using System;

public partial class VisualShaderNode_CLASS_ : _BASE_
{
    public override string _GetName()
    {
        return "_CLASS_";
    }

    public override string _GetCategory()
    {
        return "";
    }

    public override string _GetDescription()
    {
        return "";
    }

    public override int _GetReturnIconType()
    {
        return 0;
    }

    public override int _GetInputPortCount()
    {
        return 0;
    }

    public override string _GetInputPortName(int port)
    {
        return "";
    }

    public override int _GetInputPortType(int port)
    {
        return 0;
    }

    public override int _GetOutputPortCount()
    {
        return 1;
    }

    public override string _GetOutputPortName(int port)
    {
        return "result";
    }

    public override int _GetOutputPortType(int port)
    {
        return 0;
    }

    public override string _GetCode(Godot.Collections.Array<string> inputVars, Godot.Collections.Array<string> outputVars, Shader.Mode mode, VisualShader.Type type)
    {
        return "";
    }
}