GraphicsDevice.setViewport

Sets viewport.

  1. void setViewport(int width, int height)
    class GraphicsDevice
    @nogc const nothrow
    void
    setViewport
    (
    in int width
    ,
    in int height
    )
  2. void setViewport(Size!int size)
  3. void setViewport(V position, Size!int size)

Meta