点击或拖拽改变大小

OpenGLScissor 方法

Define the scissor box.

命名空间:  DSkin.OpenGL
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public void Scissor(
	int x,
	int y,
	int width,
	int height
)

参数

x
类型:SystemInt32
Specify the lower left corner of the scissor box. Initially (0, 0).
y
类型:SystemInt32
Specify the lower left corner of the scissor box. Initially (0, 0).
width
类型:SystemInt32
Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window.
height
类型:SystemInt32
Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window.
参见