This repository has been archived on 2024-06-03. You can view files and clone it, but cannot push or open issues or pull requests.
|
package x
|
|
|
|
import "image"
|
|
import "git.tebibyte.media/tomo/tomo"
|
|
import "git.tebibyte.media/tomo/x/canvas"
|
|
|
|
func (backend Backend) NewTexture (source image.Image) tomo.Texture {
|
|
return xcanvas.NewTextureFrom(source)
|
|
}
|