shader

package
v0.0.0-...-585686a Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2017 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package shader contains the several shaders used by the engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddChunk

func AddChunk(name, source string)

func AddProgram

func AddProgram(name, vertexName, fragName string)

func AddShader

func AddShader(name, source string)

func Chunks

func Chunks() map[string]string

func Programs

func Programs() map[string]ProgramInfo

func Shaders

func Shaders() map[string]string

Types

type ProgramInfo

type ProgramInfo struct {
	Vertex string // Vertex shader name
	Frag   string // Fragment shader name
}

Jump to

Keyboard shortcuts

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