点击或拖拽改变大小

OpenGLCopyPixels 方法

Copy pixels in the frame buffer.

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

参数

x
类型:SystemInt32
Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
y
类型:SystemInt32
Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
width
类型:SystemInt32
Specify the dimensions of the rectangular region of pixels to be copied. Both must be nonnegative.
height
类型:SystemInt32
Specify the dimensions of the rectangular region of pixels to be copied. Both must be nonnegative.
type
类型:SystemUInt32
Specifies whether color values, depth values, or stencil values are to be copied. Symbolic constants OpenGL.COLOR, OpenGL.DEPTH, and OpenGL.STENCIL are accepted.
参见