Function VisualServerSingleton.canvasLightSetTexture

Sets texture to be used by light. Equivalent to Light2D.texture.

void canvasLightSetTexture (
  const(RID) light,
  const(RID) texture
) nothrow @nogc;