mobilegolang.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

Functions

func Engine

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

Engine creates an OpenGL-based sprite.Engine.

Source Files

glsprite.go

Version
v0.0.0-20250305212854-3a7bc9f8a4de (latest)
Published
Mar 5, 2025
Platform
linux/amd64
Imports
8 packages
Last checked
1 hour ago

Tools for package owners.