package ui import "opslag.de/schobers/geom" type Texture interface { Destroy() error Height() int Width() int } func SizeOfTexture(t Texture) geom.Point { return geom.Pt(t.Width(), t.Height()) }