glsl

package
Version: v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(p *shaderir.Program, version GLSLVersion) (vertexShader, fragmentShader string)

func FragmentPrelude

func FragmentPrelude(version GLSLVersion) string

func VertexPrelude

func VertexPrelude(version GLSLVersion) string

Types

type GLSLVersion

type GLSLVersion int
const (
	GLSLVersionDefault GLSLVersion = iota
	GLSLVersionES100
	GLSLVersionES300
)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto