textures

package
v0.0.0-...-d4bd395 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertImageToTexture

func ConvertImageToTexture(filename string) *render.Texture

Types

type Animation

type Animation struct {
	Frames    []render.Texture
	Delays    []int
	LoopCount int
}

func ConvertGIFToAnimation

func ConvertGIFToAnimation(filename string) (*Animation, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL