device

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, item NewFunc)

Register NewFunc with name, which can be get by calling NewFuncForName() later.

Types

type GPUTree

type GPUTree interface {
	Init(input string)
	Update()
}

GPUTree is an interface for GPU tree structure

type NewFunc

type NewFunc func(cfg *config.Config) GPUTree

NewFunc is a function to create GPUTree

func NewFuncForName

func NewFuncForName(name string) NewFunc

NewFuncForName tries to find functions with specific name from factory, return nil if not found.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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