setExternalTexture

open fun setExternalTexture(name: String, externalTexture: ExternalTexture)

Sets an ExternalTexture to a parameter of type 'samplerExternal' on this material.

Parameters

name

the name of the parameter in the material

externalTexture

the texture to set