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.
2023-08-21 04:35:55 +00:00
|
|
|
package x
|
|
|
|
|
|
|
|
import "image"
|
2023-08-23 01:24:38 +00:00
|
|
|
import "git.tebibyte.media/tomo/x/canvas"
|
2023-08-24 19:54:22 +00:00
|
|
|
import "git.tebibyte.media/tomo/tomo/canvas"
|
2023-08-21 04:35:55 +00:00
|
|
|
|
2023-09-05 21:50:53 +00:00
|
|
|
func (backend Backend) NewTexture (source image.Image) canvas.TextureCloser {
|
2023-08-23 23:21:28 +00:00
|
|
|
return xcanvas.NewTextureFrom(source)
|
2023-08-22 17:17:48 +00:00
|
|
|
}
|