pipeline

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

type Buffer[T any] []T

type Collection

type Collection struct {
	// contains filtered or unexported fields
}

func (Collection) GetVector3

func (c Collection) GetVector3(str string) DataAccessor[vector3.Float64]

type Command

type Command struct {
	// contains filtered or unexported fields
}

func NewCommand

func NewCommand(readPermissions, writePermissions Permission, operator Operate) Command

type DataAccessor

type DataAccessor[T any] interface{}

type Operate

type Operate func(*View)

type Permission

type Permission interface {
	HasPrimitivePermission() bool
	HasAttributePermission() bool
	HasMaterialPermission() bool

	HasFloat3Permission(attr string) bool
	HasFloat2Permission(attr string) bool
	HasFloat1Permission(attr string) bool
}

func PermissionForResources

func PermissionForResources(resources ...Resource) Permission

type Resource

type Resource struct {
	// contains filtered or unexported fields
}

func RequireMeshFloat1Attribute

func RequireMeshFloat1Attribute(attribute string) Resource

func RequireMeshFloat2Attribute

func RequireMeshFloat2Attribute(attribute string) Resource

func RequireMeshFloat3Attribute

func RequireMeshFloat3Attribute(attribute string) Resource

func RequireMeshPrimitive

func RequireMeshPrimitive() Resource

type Schedule

type Schedule struct {
	// contains filtered or unexported fields
}

func (Schedule) Run

func (s Schedule) Run(m modeling.Mesh) modeling.Mesh

type View

type View struct {
	// contains filtered or unexported fields
}

func (View) AttributeLength

func (v View) AttributeLength() int

func (View) ScanFloat1Attribute

func (v View) ScanFloat1Attribute(attribute string, f func(i int, v float64))

func (View) ScanFloat1AttributeParallel

func (v View) ScanFloat1AttributeParallel(attribute string, f func(i int, v float64))

func (View) ScanFloat1AttributeParallelWithPoolSize

func (v View) ScanFloat1AttributeParallelWithPoolSize(attribute string, size int, f func(i int, v float64))

func (View) ScanFloat2Attribute

func (v View) ScanFloat2Attribute(attribute string, f func(i int, v vector2.Float64))

func (View) ScanFloat2AttributeParallel

func (v View) ScanFloat2AttributeParallel(attribute string, f func(i int, v vector2.Float64))

func (View) ScanFloat2AttributeParallelWithPoolSize

func (v View) ScanFloat2AttributeParallelWithPoolSize(attribute string, size int, f func(i int, v vector2.Float64))

func (View) ScanFloat3Attribute

func (v View) ScanFloat3Attribute(attribute string, f func(i int, v vector3.Float64))

func (View) ScanFloat3AttributeParallel

func (v View) ScanFloat3AttributeParallel(attribute string, f func(i int, v vector3.Float64))

func (View) ScanFloat3AttributeParallelWithPoolSize

func (v View) ScanFloat3AttributeParallelWithPoolSize(attribute string, size int, f func(i int, v vector3.Float64))

func (*View) SetFloat1Attribute

func (v *View) SetFloat1Attribute(attribute string, data []float64)

func (*View) SetFloat2Attribute

func (v *View) SetFloat2Attribute(attribute string, data []vector2.Float64)

func (*View) SetFloat3Attribute

func (v *View) SetFloat3Attribute(attribute string, data []vector3.Float64)

func (View) VertexNeighborTable

func (v View) VertexNeighborTable() modeling.VertexLUT

VertexNeighborTable

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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