shader

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2019 License: BSD-2-Clause Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BricksMaterial

type BricksMaterial struct {
	material.Standard // Embedded standard material
	// contains filtered or unexported fields
}

func NewBricksMaterial

func NewBricksMaterial(color *math32.Color) *BricksMaterial

func (*BricksMaterial) RenderSetup

func (m *BricksMaterial) RenderSetup(gl *gls.GLS)

type Earth

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

func (*Earth) Initialize

func (t *Earth) Initialize(a *app.App)

func (*Earth) Render

func (t *Earth) Render(a *app.App)

type EarthMaterial

type EarthMaterial struct {
	material.Standard // Embedded standard material
}

func NewEarthMaterial

func NewEarthMaterial(color *math32.Color) *EarthMaterial

NewEarthMaterial creates and returns a pointer to a new earth material

type NormalsMaterial

type NormalsMaterial struct {
	material.Material // Embedded material
	ShowWireframe     int
	ShowVnormal       int
	ShowFnormal       int
	// contains filtered or unexported fields
}

Normals Custom material

func (*NormalsMaterial) RenderSetup

func (m *NormalsMaterial) RenderSetup(gs *gls.GLS)

type ShaderBricks

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

func (*ShaderBricks) Initialize

func (t *ShaderBricks) Initialize(a *app.App)

func (*ShaderBricks) Render

func (t *ShaderBricks) Render(a *app.App)

type ShaderGeometry

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

func (*ShaderGeometry) Initialize

func (t *ShaderGeometry) Initialize(a *app.App)

func (*ShaderGeometry) Render

func (t *ShaderGeometry) Render(a *app.App)

Jump to

Keyboard shortcuts

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