setTexture

fun MaterialInstance.setTexture(name: String, texture: Texture, sampler: TextureSampler = TextureSampler2D())
fun MaterialInstance.setTexture(texture: Texture, sampler: TextureSampler = TextureSampler2D())