texture

package
v0.0.0-...-b5e2f65 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2017 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTexture2D

func NewTexture2D() *texture2D

func Texture2DFromData

func Texture2DFromData() (*texture2D, error)

func Texture2DFromImage

func Texture2DFromImage(file string) (*texture2D, error)

func Texture2DFromRGBA

func Texture2DFromRGBA() (*texture2D, error)

Types

type Renderer

type Renderer interface {
	Render(graphics.Provider, int)
}

type Texture

type Texture interface {
	Texturer
	Renderer
}

type Texturer

type Texturer interface {
	graphics.Initializer
	graphics.Closer
	///graphics.Visiblizer
	graphics.RefCounter
}

Jump to

Keyboard shortcuts

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