GL.Viewport GL.Viewport Method

Definition

Overloads

Viewport(Rectangle) Viewport(Rectangle)
Viewport(Size) Viewport(Size)
Viewport(Point, Size) Viewport(Point, Size)
Viewport(Int32, Int32, Int32, Int32) Viewport(Int32, Int32, Int32, Int32)

Viewport(Rectangle) Viewport(Rectangle)

public static void Viewport (System.Drawing.Rectangle rectangle);
static member Viewport : System.Drawing.Rectangle -> unit

Parameters

rectangle
Rectangle Rectangle

Viewport(Size) Viewport(Size)

public static void Viewport (System.Drawing.Size size);
static member Viewport : System.Drawing.Size -> unit

Parameters

size
Size Size

Viewport(Point, Size) Viewport(Point, Size)

public static void Viewport (System.Drawing.Point location, System.Drawing.Size size);
static member Viewport : System.Drawing.Point * System.Drawing.Size -> unit

Parameters

location
Point Point
size
Size Size

Viewport(Int32, Int32, Int32, Int32) Viewport(Int32, Int32, Int32, Int32)

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glViewport", Version="3.0")]
public static void Viewport (int x, int y, int width, int height);
static member Viewport : int * int * int * int -> unit

Parameters

width
Int32 Int32
height
Int32 Int32

Applies to