texture

package
v0.0.0-...-d216d2d Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Texture

type Texture struct {
	Width  int
	Height int
	// contains filtered or unexported fields
}

Texture object

func New

func New(file string) (*Texture, error)

New returns a newly created Texture

func (*Texture) Bind

func (t *Texture) Bind()

Bind will set the current texture to the active texture

Jump to

Keyboard shortcuts

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