package ui

import "opslag.de/schobers/geom"

type Texture interface {
	Destroy() error
	Height() float32
	Width() float32
}

func SizeOfTexture(t Texture) geom.PointF32 { return geom.PtF32(t.Width(), t.Height()) }