material

package
v0.0.0-...-e407d5c Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColorMixer

type ColorMixer struct {
	R, G, B, A int
	// contains filtered or unexported fields
}

func (*ColorMixer) Add

func (cm *ColorMixer) Add(c color.NRGBA)

func (*ColorMixer) ToNRGBA

func (cm *ColorMixer) ToNRGBA() color.NRGBA

type Light

type Light struct {
	Material
	Color color.NRGBA
}

func (Light) GetColor

func (m Light) GetColor() color.NRGBA

type Material

type Material interface {
	GetColor() color.NRGBA
}

type Matte

type Matte struct {
	Material
	Color color.NRGBA
}

func (Matte) GetColor

func (m Matte) GetColor() color.NRGBA

Jump to

Keyboard shortcuts

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