mobile: golang.org/x/mobile/exp/sprite/glsprite Index | Files

package glsprite

import "golang.org/x/mobile/exp/sprite/glsprite"

Package glsprite implements a sprite Engine using OpenGL ES 2.

Each sprite.Texture is loaded as a GL texture object and drawn to the screen via an affine transform done in a simple shader.

Index

Package Files

glsprite.go

func Engine Uses

func Engine(images *glutil.Images) sprite.Engine

Engine creates an OpenGL-based sprite.Engine.

Package glsprite imports 8 packages (graph) and is imported by 5 packages. Updated 2017-08-23. Refresh now. Tools for package owners.