use

fun <R> Texture.use(engine: Engine, block: (Texture) -> R): R