package
0.2.0
Repository: https://github.com/g3n/engine.git
Documentation: pkg.go.dev

# Functions

DecodeImage reads and decodes the specified image file into RGBA8.
NewAnimator creates and returns a texture sheet animator for the specified texture.
NewBoard creates and returns a pointer to a new checker board 2D texture.
NewTexture2DFromCompressedData creates a new compressed texture from data.
NewTexture2DFromData creates a new texture from data.
NewTexture2DFromImage creates and returns a pointer to a new Texture2D using the specified image file as data.
NewTexture2DFromRGBA creates a new texture from a pointer to an RGBA image object.

# Structs

Animator can generate a texture animation based on a texture sheet.
Texture2D represents a texture.