fromResource

fun TextureImageSourceBuilder.fromResource(owner: Any, name: String): TextureImageSourceBuilder

Will build a texture source from a resource with a given name, associated with a given owner.