Esempio n. 1
0
func GetVertexAttribPointerv(
	index uint32, pname Enum, pointer *Void) {
	C.glGetVertexAttribPointerv(
		C.GLuint(index),
		C.GLenum(pname),
		(*unsafe.Pointer)(*pointer))
}
Esempio n. 2
0
func GetVertexAttribPointerv(index, pname uint, pointer []Void) []Void {
	C.glGetVertexAttribPointerv(C.GLuint(index), C.GLenum(pname), (*unsafe.Pointer)(&pointer[0]))
	return pointer
}