This repository has been archived on 2024-06-02. You can view files and clone it, but cannot push or open issues or pull requests.
x/texture.go

10 lines
227 B
Go

package x
import "image"
import "git.tebibyte.media/tomo/x/canvas"
import "git.tebibyte.media/tomo/tomo/canvas"
func (backend Backend) NewTexture (source image.Image) canvas.Texture {
return xcanvas.NewTextureFrom(source)
}