GL.Viewport 方法

定义

重载

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

参数

location
Point
size
Size

适用于

Viewport(Rectangle)

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

参数

rectangle
Rectangle

适用于

Viewport(Size)

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

参数

size
Size

适用于

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

参数

x
Int32
y
Int32
width
Int32
height
Int32
属性

适用于