ebiten/graphics/texture_factory.go

11 lines
196 B
Go
Raw Normal View History

package graphics
import (
"image"
)
type TextureFactory interface {
CreateRenderTarget(width, height int) (RenderTargetId, error)
CreateTextureFromImage(img image.Image) (TextureId, error)
}