Function VisualServerSingleton.viewportGetTexture

Returns the viewport's last rendered frame.

RID viewportGetTexture (
  const(RID) viewport
) nothrow @nogc const;