Function SpatialMaterial.setTexture

Sets the Texture to be used by the specified textureparam. This function is called when setting members ending in *_texture.

void setTexture (
  const(long) param,
  Texture texture
) nothrow @nogc;