ace

package
v0.0.0-...-dacabe5 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Program

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

func NewProgram

func NewProgram(vertexFilename, fragmentFilename string) *Program

func (*Program) Activate

func (p *Program) Activate()

func (*Program) Free

func (p *Program) Free()

func (*Program) GetUniformLocation

func (p *Program) GetUniformLocation(name string) int32

type Shader

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

func NewFragmentShader

func NewFragmentShader(filename string) *Shader

func NewVertexShader

func NewVertexShader(filename string) *Shader

func (*Shader) Free

func (s *Shader) Free()

Jump to

Keyboard shortcuts

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