Bearbeiten

Freigeben über


GL.Viewport Method

Definition

Overloads

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

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(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(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

x
Int32
y
Int32
width
Int32
height
Int32
Attributes

Applies to