artifact

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBinaryNode

func NewBinaryNode(bytesNode nodes.NodeOutput[[]byte]) nodes.NodeOutput[generator.Artifact]

func NewIONode

func NewIONode(readerNode nodes.NodeOutput[io.Reader]) nodes.NodeOutput[generator.Artifact]

func NewSplatPlyNode added in v0.19.0

func NewSplatPlyNode(meshNode nodes.NodeOutput[modeling.Mesh]) nodes.NodeOutput[generator.Artifact]

func NewTextNode

func NewTextNode(textNode nodes.NodeOutput[string]) nodes.NodeOutput[generator.Artifact]

Types

type Binary

type Binary struct {
	Data []byte
}

func (Binary) Mime

func (Binary) Mime() string

func (Binary) Write

func (ba Binary) Write(w io.Writer) error

type BinaryNodeData

type BinaryNodeData struct {
	In nodes.NodeOutput[[]byte]
}

func (BinaryNodeData) Process

func (pn BinaryNodeData) Process() (generator.Artifact, error)

type Gltf

type Gltf struct {
	Scene gltf.PolyformScene
}

func (Gltf) Mime

func (Gltf) Mime() string

func (Gltf) Write

func (ga Gltf) Write(w io.Writer) error

type GltfNodeData

type GltfNodeData struct {
	In nodes.NodeOutput[gltf.PolyformScene]
}

func (GltfNodeData) Process

func (pn GltfNodeData) Process() (generator.Artifact, error)

type IO

type IO struct {
	Reader io.Reader
}

func (IO) Mime

func (IO) Mime() string

func (IO) Write

func (ga IO) Write(w io.Writer) error

type IONodeData

type IONodeData struct {
	In nodes.NodeOutput[io.Reader]
}

func (IONodeData) Process

func (pn IONodeData) Process() (generator.Artifact, error)

type Image

type Image struct {
	Image image.Image
}

func (Image) Mime

func (im Image) Mime() string

func (Image) Write

func (ia Image) Write(w io.Writer) error

type ImageNodeData

type ImageNodeData struct {
	In nodes.NodeOutput[image.Image]
}

func (ImageNodeData) Process

func (pn ImageNodeData) Process() (generator.Artifact, error)

type Splat

type Splat struct {
	Mesh modeling.Mesh
}

func (Splat) Mime

func (Splat) Mime() string

func (Splat) Write

func (sa Splat) Write(w io.Writer) error

type SplatNodeData

type SplatNodeData struct {
	In nodes.NodeOutput[modeling.Mesh]
}

func (SplatNodeData) Process

func (pn SplatNodeData) Process() (generator.Artifact, error)

type SplatPly added in v0.19.0

type SplatPly struct {
	Mesh modeling.Mesh
}

func (SplatPly) Mime added in v0.19.0

func (SplatPly) Mime() string

func (SplatPly) Write added in v0.19.0

func (sa SplatPly) Write(w io.Writer) error

type SplatPlyNode added in v0.19.0

type SplatPlyNodeData added in v0.19.0

type SplatPlyNodeData struct {
	In nodes.NodeOutput[modeling.Mesh]
}

func (SplatPlyNodeData) Process added in v0.19.0

func (pn SplatPlyNodeData) Process() (generator.Artifact, error)

type Text

type Text struct {
	Data string
}

func (Text) Mime

func (Text) Mime() string

func (Text) Write

func (ta Text) Write(w io.Writer) error

type TextNodeData

type TextNodeData struct {
	In nodes.NodeOutput[string]
}

func (TextNodeData) Process

func (tand TextNodeData) Process() (generator.Artifact, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL