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

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

Engine creates an OpenGL-based sprite.Engine.

Package glsprite imports 8 packages (graph) and is imported by 4 packages. Updated 6 days ago. Refresh now. Tools for package owners.