示例#1
0
文件: gles2.go 项目: remogatto/egles
func GetVertexAttribPointerv(
	index uint32, pname Enum, pointer *Void) {
	C.glGetVertexAttribPointerv(
		C.GLuint(index),
		C.GLenum(pname),
		(*unsafe.Pointer)(*pointer))
}
示例#2
0
文件: es2.go 项目: nick-fedesna/egles
func GetVertexAttribPointerv(index, pname uint, pointer []Void) []Void {
	C.glGetVertexAttribPointerv(C.GLuint(index), C.GLenum(pname), (*unsafe.Pointer)(&pointer[0]))
	return pointer
}