shader

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2014 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrawTexture

func DrawTexture(native gl.Texture, projectionMatrix [4][4]float64, quads []TextureQuad, geo Matrix, color Matrix) error

Types

type Matrix

type Matrix interface {
	Element(i, j int) float64
}

type TextureQuad

type TextureQuad struct {
	VertexX0       float32
	VertexX1       float32
	VertexY0       float32
	VertexY1       float32
	TextureCoordU0 float32
	TextureCoordU1 float32
	TextureCoordV0 float32
	TextureCoordV1 float32
}

Jump to

Keyboard shortcuts

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