material

package
v0.0.0-...-8e5a076 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Deferred = Pass("deferred")
	Forward  = Pass("forward")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Def

type Def struct {
	Shader       string
	Pass         Pass
	VertexFormat any
	DepthTest    bool
	DepthWrite   bool
	DepthClamp   bool
	DepthFunc    core1_0.CompareOp
	Primitive    vertex.Primitive
	CullMode     vertex.CullMode
	Transparent  bool
	// contains filtered or unexported fields
}

func Lines

func Lines() *Def

func StandardDeferred

func StandardDeferred() *Def

func StandardForward

func StandardForward() *Def

func TransparentForward

func TransparentForward() *Def

func (*Def) Hash

func (d *Def) Hash() ID

func (*Def) Key

func (d *Def) Key() string

func (*Def) LoadMaterial

func (d *Def) LoadMaterial(fs.Filesystem) *Def

func (*Def) Version

func (d *Def) Version() int

type ID

type ID uint64

func Hash

func Hash(def *Def) ID

type Pass

type Pass string

Jump to

Keyboard shortcuts

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