//void glGetMaterialiv (GLenum face, GLenum pname, int *params) func GetMaterialiv(face GLenum, pname GLenum, params []int32) { if len(params) == 0 { panic("Invalid params length") } C.glGetMaterialiv(C.GLenum(face), C.GLenum(pname), (*C.GLint)(¶ms[0])) }
//void glGetMaterialiv (GLenum face, GLenum pname, int *params) func GetMaterialiv(face GLenum, pname GLenum, params []int32) { if len(params) == 0 { panic(ErrorInputSize) } C.glGetMaterialiv(C.GLenum(face), C.GLenum(pname), (*C.GLint)(¶ms[0])) }