func GetRenderbufferParameteriv( target Enum, pname Enum, params *int32) { C.glGetRenderbufferParameteriv( C.GLenum(target), C.GLenum(pname), (*C.GLint)(params)) }
// void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params); func GetRenderbufferParameteriv(target, pname GLenum, params []int32) { if len(params) == 0 { panic(ErrorInputSize) } C.glGetRenderbufferParameteriv(C.GLenum(target), C.GLenum(pname), (*C.GLint)(¶ms[0])) }
// void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params); func GetRenderbufferParameteriv(target, pname GLenum, params []int32) { if len(params) == 0 { panic("Invalid params size") } C.glGetRenderbufferParameteriv(C.GLenum(target), C.GLenum(pname), (*C.GLint)(¶ms[0])) }
func GetRenderbufferParameteri(target, pname Enum) (r0 int) { defer func() { errstr := errDrain() log.Printf("gl.GetRenderbufferParameteri(%v, %v) %v%v", target, pname, r0, errstr) }() var params C.GLint C.glGetRenderbufferParameteriv(target.c(), pname.c(), ¶ms) return int(params) }
func GetRenderbufferParameteri(target, pname Enum) int { var params C.GLint C.glGetRenderbufferParameteriv(target.c(), pname.c(), ¶ms) return int(params) }
func GetRenderbufferParameteriv(target, pname uint, params []int32) []int32 { C.glGetRenderbufferParameteriv( C.GLenum(target), C.GLenum(pname), (*C.GLint)(¶ms[0])) return params }