func GetBufferParameteriv( target Enum, pname Enum, params *int32) { C.glGetBufferParameteriv( C.GLenum(target), C.GLenum(pname), (*C.GLint)(params)) }
func GetBufferParameteri(target, pname Enum) (r0 int) { defer func() { errstr := errDrain() log.Printf("gl.GetBufferParameteri(%v, %v) %v%v", target, pname, r0, errstr) }() var params C.GLint C.glGetBufferParameteriv(target.c(), pname.c(), ¶ms) return int(params) }
func GetBufferParameteri(target, pname Enum) int { var params C.GLint C.glGetBufferParameteriv(target.c(), pname.c(), ¶ms) return int(params) }
func GetBufferParameter(target BufferTarget, param BufferParameter) int { value := C.GLint(0) C.glGetBufferParameteriv(C.GLenum(target), C.GLenum(param), &value) return int(value) }
func GetBufferParameteriv(target, pname uint, params []int32) []int32 { C.glGetBufferParameteriv(C.GLenum(target), C.GLenum(pname), (*C.GLint)(¶ms[0])) return params }
// Return parameters of a buffer object func GetBufferParameteriv(target GLenum, pname GLenum) int32 { var param C.GLint C.glGetBufferParameteriv(C.GLenum(target), C.GLenum(pname), ¶m) return int32(param) }