Documentation ¶
Index ¶
- func Nodes() *refutil.TypeFactory
- type AABB
- type Bool
- type CliConfig
- type Color
- type File
- func (pn *File) ApplyMessage(msg []byte) (bool, error)
- func (pn *File) Dependencies() []nodes.NodeDependency
- func (pn *File) DisplayName() string
- func (pn *File) FromJSON(decoder jbtf.Decoder, body []byte) (err error)
- func (pn File) InitializeForCLI(set *flag.FlagSet)
- func (tn File) Inputs() []nodes.Input
- func (in *File) Node() nodes.Node
- func (tn *File) Out() FileNodeOutput
- func (tn *File) Outputs() []nodes.Output
- func (in File) Port() string
- func (pn *File) Schema() generator.ParameterSchema
- func (vn File) SetInput(input string, output nodes.Output)
- func (pn *File) State() nodes.NodeState
- func (pn *File) ToJSON(encoder *jbtf.Encoder) ([]byte, error)
- func (pn *File) ToMessage() []byte
- func (pn *File) Value() []byte
- func (pn File) Version() int
- type FileNodeOutput
- type Float32
- type Float64
- type Image
- func (pn *Image) AddSubscription(a nodes.Alertable)
- func (pn *Image) ApplyMessage(msg []byte) (bool, error)
- func (pn *Image) Dependencies() []nodes.NodeDependency
- func (pn *Image) DisplayName() string
- func (pn *Image) FromJSON(decoder jbtf.Decoder, body []byte) (err error)
- func (pn Image) InitializeForCLI(set *flag.FlagSet)
- func (tn Image) Inputs() []nodes.Input
- func (in *Image) Node() nodes.Node
- func (tn *Image) Out() ImageNodeOutput
- func (tn *Image) Outputs() []nodes.Output
- func (in Image) Port() string
- func (pn *Image) Schema() generator.ParameterSchema
- func (vn Image) SetInput(input string, output nodes.Output)
- func (pn *Image) State() nodes.NodeState
- func (pn *Image) ToJSON(encoder *jbtf.Encoder) ([]byte, error)
- func (pn *Image) ToMessage() []byte
- func (pn *Image) Value() image.Image
- func (pn Image) Version() int
- type ImageNodeOutput
- type Int
- type ParameterNodeOutput
- type String
- type Value
- func (pn *Value[T]) AddSubscription(a nodes.Alertable)
- func (pn *Value[T]) ApplyMessage(msg []byte) (bool, error)
- func (pn *Value[T]) Dependencies() []nodes.NodeDependency
- func (pn *Value[T]) DisplayName() string
- func (pn *Value[T]) FromJSON(decoder jbtf.Decoder, body []byte) (err error)
- func (pn Value[T]) InitializeForCLI(set *flag.FlagSet)
- func (tn Value[T]) Inputs() []nodes.Input
- func (in *Value[T]) Node() nodes.Node
- func (tn *Value[T]) Out() nodes.NodeOutput[T]
- func (tn *Value[T]) Outputs() []nodes.Output
- func (in *Value[T]) Port() string
- func (pn *Value[T]) Schema() generator.ParameterSchema
- func (vn Value[T]) SetInput(input string, output nodes.Output)
- func (pn *Value[T]) State() nodes.NodeState
- func (pn Value[T]) SwaggerProperty() swagger.Property
- func (pn *Value[T]) ToJSON(encoder *jbtf.Encoder) ([]byte, error)
- func (pn Value[T]) ToMessage() []byte
- func (pn *Value[T]) Value() T
- func (pn Value[T]) Version() int
- type ValueSchema
- type Vector3
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Nodes ¶
func Nodes() *refutil.TypeFactory
Types ¶
type File ¶
type File struct { Name string DefaultValue []byte CLI *CliConfig[string] // contains filtered or unexported fields }
func (*File) Dependencies ¶
func (pn *File) Dependencies() []nodes.NodeDependency
func (*File) DisplayName ¶
func (File) InitializeForCLI ¶
func (*File) Out ¶
func (tn *File) Out() FileNodeOutput
func (*File) Schema ¶
func (pn *File) Schema() generator.ParameterSchema
type FileNodeOutput ¶
type FileNodeOutput struct {
Val *File
}
func (FileNodeOutput) Node ¶
func (sno FileNodeOutput) Node() nodes.Node
func (FileNodeOutput) Port ¶
func (sno FileNodeOutput) Port() string
func (FileNodeOutput) Value ¶
func (sno FileNodeOutput) Value() []byte
type Image ¶
type Image struct { Name string DefaultValue image.Image CLI *CliConfig[string] // contains filtered or unexported fields }
func (*Image) AddSubscription ¶
func (*Image) Dependencies ¶
func (pn *Image) Dependencies() []nodes.NodeDependency
func (*Image) DisplayName ¶
func (Image) InitializeForCLI ¶
func (*Image) Out ¶
func (tn *Image) Out() ImageNodeOutput
func (*Image) Schema ¶
func (pn *Image) Schema() generator.ParameterSchema
type ImageNodeOutput ¶
type ImageNodeOutput struct {
Val *Image
}
func (ImageNodeOutput) Node ¶
func (sno ImageNodeOutput) Node() nodes.Node
func (ImageNodeOutput) Port ¶
func (sno ImageNodeOutput) Port() string
func (ImageNodeOutput) Value ¶
func (sno ImageNodeOutput) Value() image.Image
type ParameterNodeOutput ¶
func (ParameterNodeOutput[T]) Node ¶
func (sno ParameterNodeOutput[T]) Node() nodes.Node
func (ParameterNodeOutput[T]) Port ¶
func (sno ParameterNodeOutput[T]) Port() string
func (ParameterNodeOutput[T]) Value ¶
func (sno ParameterNodeOutput[T]) Value() T
type Value ¶
type Value[T any] struct { Name string `json:"name"` Description string `json:"description"` DefaultValue T `json:"defaultValue"` CLI *CliConfig[T] `json:"cli"` // contains filtered or unexported fields }
func (*Value[T]) AddSubscription ¶
func (*Value[T]) Dependencies ¶
func (pn *Value[T]) Dependencies() []nodes.NodeDependency
func (*Value[T]) DisplayName ¶
func (Value[T]) InitializeForCLI ¶
func (*Value[T]) Out ¶
func (tn *Value[T]) Out() nodes.NodeOutput[T]
func (*Value[T]) Schema ¶
func (pn *Value[T]) Schema() generator.ParameterSchema
func (Value[T]) SwaggerProperty ¶
type ValueSchema ¶
type ValueSchema[T any] struct { generator.ParameterSchemaBase DefaultValue T `json:"defaultValue"` CurrentValue T `json:"currentValue"` }
Click to show internal directories.
Click to hide internal directories.