func TexParameteriv( target Enum, pname Enum, params *int32) { C.glTexParameteriv( C.GLenum(target), C.GLenum(pname), (*C.GLint)(params)) }
func TexParameteriv(target, pname Enum, params []int32) { defer func() { errstr := errDrain() log.Printf("gl.TexParameteriv(%v, %v, %v) %v", target, pname, params, errstr) }() C.glTexParameteriv(target.c(), pname.c(), (*C.GLint)(¶ms[0])) }
func TexParameteriv(target, pname Enum, params []int32) { C.glTexParameteriv(target.c(), pname.c(), (*C.GLint)(¶ms[0])) }
//void glTexParameteriv (GLenum target, GLenum pname, const int *params) func TexParameteriv(target GLenum, pname GLenum, params []int32) { if len(params) == 0 { panic(ErrorInputSize) } C.glTexParameteriv(C.GLenum(target), C.GLenum(pname), (*C.GLint)(¶ms[0])) }
//void glTexParameteriv (GLenum target, GLenum pname, const int *params) func TexParameteriv(target GLenum, pname GLenum, params []int32) { if len(params) == 0 { panic("Invalid params slice length") } C.glTexParameteriv(C.GLenum(target), C.GLenum(pname), (*C.GLint)(¶ms[0])) }
func TexParameteriv(target, pname uint, params []int32) []int32 { C.glTexParameteriv(C.GLenum(target), C.GLenum(pname), (*C.GLint)(¶ms[0])) return params }