func GetVertexAttribfv( index uint32, pname Enum, params *float32) { C.glGetVertexAttribfv( C.GLuint(index), C.GLenum(pname), (*C.GLfloat)(params)) }
func GetVertexAttribfv(dst []float32, src Attrib, pname Enum) { defer func() { errstr := errDrain() log.Printf("gl.GetVertexAttribfv(len(%d), %v, %v) %v", len(dst), src, pname, errstr) }() C.glGetVertexAttribfv(src.c(), pname.c(), (*C.GLfloat)(&dst[0])) }
func GetVertexAttribf(src Attrib, pname Enum) (r0 float32) { defer func() { errstr := errDrain() log.Printf("gl.GetVertexAttribf(%v, %v) %v%v", src, pname, r0, errstr) }() var params C.GLfloat C.glGetVertexAttribfv(src.c(), pname.c(), ¶ms) return float32(params) }
func GetVertexAttribfv(dst []float32, src Attrib, pname Enum) { C.glGetVertexAttribfv(src.c(), pname.c(), (*C.GLfloat)(&dst[0])) }
func GetVertexAttribf(src Attrib, pname Enum) float32 { var params C.GLfloat C.glGetVertexAttribfv(src.c(), pname.c(), ¶ms) return float32(params) }
func GetVertexAttribfv(index, pname uint, params []float32) []float32 { C.glGetVertexAttribfv(C.GLuint(index), C.GLenum(pname), (*C.GLfloat)(¶ms[0])) return params }