ebiten/graphics/texture_factory.go

12 lines
218 B
Go
Raw Normal View History

package graphics
import (
"image"
)
2013-12-03 14:14:51 +01:00
// TODO: Remove this?
type TextureFactory interface {
CreateRenderTarget(width, height int) (RenderTargetId, error)
CreateTextureFromImage(img image.Image) (TextureId, error)
}