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-20250408133729-978277e7eaf7 (latest)
Published
Apr 8, 2025
Platform
linux/amd64
Imports
8 packages
Last checked
2 months ago

Tools for package owners.