点击或拖拽改变大小

OpenGLColorPointer 方法

Define an array of colors.

命名空间:  DSkin.OpenGL
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public void ColorPointer(
	int size,
	uint type,
	int stride,
	IntPtr pointer
)

参数

size
类型:SystemInt32
Specifies the number of components per color. Must be 3 or 4.
type
类型:SystemUInt32
Specifies the data type of each color component in the array. Symbolic constants OpenGL.BYTE, OpenGL.UNSIGNED_BYTE, OpenGL.SHORT, OpenGL.UNSIGNED_SHORT, OpenGL.INT, OpenGL.UNSIGNED_INT, OpenGL.FLOAT and OpenGL.DOUBLE are accepted.
stride
类型:SystemInt32
Specifies the byte offset between consecutive colors. If stride is 0, (the initial value), the colors are understood to be tightly packed in the array.
pointer
类型:SystemIntPtr
Specifies a pointer to the first component of the first color element in the array.
参见