点击或拖拽改变大小

OpenGLGetTexImage 方法

Return a texture image.

命名空间:  DSkin.OpenGL
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public void GetTexImage(
	uint target,
	int level,
	uint format,
	uint type,
	int[] pixels
)

参数

target
类型:SystemUInt32
Specifies which texture is to be obtained. OpenGL.TEXTURE_1D and OpenGL.TEXTURE_2D are accepted.
level
类型:SystemInt32
Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level n is the nth mipmap reduction image.
format
类型:SystemUInt32
Specifies a pixel format for the returned data.
type
类型:SystemUInt32
Specifies a pixel type for the returned data.
pixels
类型:SystemInt32
Returns the texture image. Should be a pointer to an array of the type specified by type.
参见