func TexParameterfv( target Enum, pname Enum, params *float32) { C.glTexParameterfv( C.GLenum(target), C.GLenum(pname), (*C.GLfloat)(params)) }
func TexParameterfv(target, pname Enum, params []float32) { defer func() { errstr := errDrain() log.Printf("gl.TexParameterfv(%v, %v, len(%d)) %v", target, pname, len(params), errstr) }() C.glTexParameterfv(target.c(), pname.c(), (*C.GLfloat)(¶ms[0])) }
func TexParameterfv(target, pname Enum, params []float32) { C.glTexParameterfv(target.c(), pname.c(), (*C.GLfloat)(¶ms[0])) }
//void glTexParameterfv (GLenum target, GLenum pname, const float *params) func TexParameterfv(target GLenum, pname GLenum, params []float32) { if len(params) == 0 { panic(ErrorInputSize) } C.glTexParameterfv(C.GLenum(target), C.GLenum(pname), (*C.GLfloat)(¶ms[0])) }
//void glTexParameterfv (GLenum target, GLenum pname, const float *params) func TexParameterfv(target GLenum, pname GLenum, params []float32) { if len(params) == 0 { panic("Invalid params slice length") } C.glTexParameterfv(C.GLenum(target), C.GLenum(pname), (*C.GLfloat)(¶ms[0])) }
func TexParameterfv(target, pname uint, params []float32) []float32 { C.glTexParameterfv(C.GLenum(target), C.GLenum(pname), (*C.GLfloat)(¶ms[0])) return params }