点击或拖拽改变大小

OpenGLCopyTexImage2D 方法

Copy pixels into a 2D texture image.

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

参数

target
类型:SystemUInt32
Specifies the target texture. Must be OpenGL.TEXTURE_2D.
level
类型:SystemInt32
Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
internalFormat
类型:SystemUInt32
Specifies the internal format of the texture.
x
类型:SystemInt32
Specify the window coordinates of the left corner of the row of pixels to be copied.
y
类型:SystemInt32
Specify the window coordinates of the left corner of the row of pixels to be copied.
width
类型:SystemInt32
Specifies the width of the texture image.
height
类型:SystemInt32
Specifies the height of the texture image.
border
类型:SystemInt32
Specifies the width of the border. Must be either 0 or 1.
参见