VisualShaderNodeCustom._getInputPortName

Override this method to define the names of input ports of the associated custom node. The names are used both for the input slots in the editor and as identifiers in the shader code, and are passed in the input_vars array in _getCode. Defining this method is optional, but recommended. If not overridden, input ports are named as "in" + str(port).

struct VisualShaderNodeCustom
@nogc nothrow
String
_getInputPortName
(
in long port
)

Meta