package
0.0.0-20190915210024-47917a8669ba
Repository: https://github.com/moethu/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.
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.