setDepthTexture

open fun setDepthTexture(name: String, depthTexture: Texture)
    Sets a Texture to a parameter of the type 'sampler2d' on this material.

Parameters

name

the name of the parameter in the material

depthTexture

the texture to set