glsl

package
v2.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const FragmentPrelude = `#if defined(GL_ES)
precision highp float;
#else
#define lowp
#define mediump
#define highp
#endif`

Variables

This section is empty.

Functions

func Compile

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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