func GetFramebufferAttachmentParameteriv( target Enum, attachment Enum, pname Enum, params *int32) { C.glGetFramebufferAttachmentParameteriv( C.GLenum(target), C.GLenum(attachment), C.GLenum(pname), (*C.GLint)(params)) }
func GetFramebufferAttachmentParameteriv( target, attachment, pname uint, params []int32) []int32 { C.glGetFramebufferAttachmentParameteriv( C.GLenum(target), C.GLenum(attachment), C.GLenum(pname), (*C.GLint)(¶ms[0])) return params }
func GetFramebufferAttachmentParameteri(target, attachment, pname Enum) (r0 int) { defer func() { errstr := errDrain() log.Printf("gl.GetFramebufferAttachmentParameteri(%v, %v, %v) %v%v", target, attachment, pname, r0, errstr) }() var params C.GLint C.glGetFramebufferAttachmentParameteriv(target.c(), attachment.c(), pname.c(), ¶ms) return int(params) }
func GetFramebufferAttachmentParameteri(target, attachment, pname Enum) int { var params C.GLint C.glGetFramebufferAttachmentParameteriv(target.c(), attachment.c(), pname.c(), ¶ms) return int(params) }
func GetFramebufferAttachmentParameter(target FramebufferTarget, attachment FramebufferAttachment, pname FramebufferAttachmentParameter) int { param := C.GLint(0) C.glGetFramebufferAttachmentParameteriv(C.GLenum(target), C.GLenum(attachment), C.GLenum(pname), ¶m) return int(param) }