gfx

package
v0.0.0-...-1ed56cc Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: MIT Imports: 4 Imported by: 1

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(shaders ...*Shader) (*Program, error)

func (*Program) Attach

func (prog *Program) Attach(shaders ...*Shader)

func (*Program) Delete

func (prog *Program) Delete()
func (prog *Program) Link() error

func (*Program) Use

func (prog *Program) Use()

type Shader

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

func NewShader

func NewShader(src string, sType uint32) (*Shader, error)

func NewShaderFromFile

func NewShaderFromFile(file string, sType uint32) (*Shader, error)

func (*Shader) Delete

func (shader *Shader) Delete()

Jump to

Keyboard shortcuts

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