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

package portable

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

Package portable implements a sprite Engine using the image package.

It is intended to serve as a reference implementation for testing other sprite Engines written against OpenGL, or other more exotic modern hardware interfaces.

Index

Package Files

portable.go

func Engine

func Engine(dst *image.RGBA) sprite.Engine

Engine builds a sprite Engine that renders onto dst.

Package portable imports 8 packages (graph). Updated 6 days ago. Refresh now. Tools for package owners.