attach

fnvoid attach(ref Camera camera, Rounding type = Rounding.none) @safe nothrow @nogc

Attaches the given camera and makes it active.

fnvoid attach(ViewportId viewport) @safe nothrow @nogc

Attaches the given viewport and makes it active.