点击或拖拽改变大小

OpenGLBuild2DMipmaps 方法

Create 2-D mipmaps.

命名空间:  DSkin.OpenGL
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public void Build2DMipmaps(
	uint target,
	uint components,
	int width,
	int height,
	uint format,
	uint type,
	IntPtr data
)

参数

target
类型:SystemUInt32
Specifies the target texture. Must be OpenGL.TEXTURE_1D.
components
类型:SystemUInt32
Specifies the number of color components in the texture. Must be 1, 2, 3, or 4.
width
类型:SystemInt32
Specifies the width of the texture image.
height
类型:SystemInt32
Specifies the height of the texture image.
format
类型:SystemUInt32
Specifies the format of the pixel data.
type
类型:SystemUInt32
Specifies the data type for data.
data
类型:SystemIntPtr
Specifies a pointer to the image data in memory.
参见