Documentation

Index

Constants

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.

Source Files