Modifier

Partager via


GL.Viewport Method

Definition

Overloads

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

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
size
Size

Applies to

Viewport(Rectangle)

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

Parameters

rectangle
Rectangle

Applies to

Viewport(Size)

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

Parameters

size
Size

Applies to

Viewport(Int32, Int32, Int32, Int32)

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

Parameters

x
Int32
y
Int32
width
Int32
height
Int32
Attributes

Applies to