material

package
v0.0.0-...-15a073e Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2018 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 Color

type Color struct {
	dax.BaseMaterial
	// contains filtered or unexported fields
}

Color is the simplest material possible, just a color.

func NewColor

func NewColor(color *dax.Color) *Color

NewColor creates a new Color material.

func (*Color) GetFragmentShader

func (m *Color) GetFragmentShader() *dax.FragmentShader

GetFragmentShader is part of the Material interface.

func (*Color) ID

func (m *Color) ID() string

ID is part of the Material interface.

Jump to

Keyboard shortcuts

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