func Clear(mask Enum) { defer func() { errstr := errDrain() log.Printf("gl.Clear(%v) %v", mask, errstr) }() C.glClear(C.GLbitfield(mask)) }
func Clear(mask Enum) { C.glClear(C.GLbitfield(mask)) }
func Clear( mask Bitfield) { C.glClear( C.GLbitfield(mask)) }
// Clear calls glClear func Clear(mask int) { C.glClear(C.GLbitfield(mask)) }
// void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); func BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1 int, mask GLbitfield, filter GLenum) { C.glBlitFramebuffer(C.GLint(srcX0), C.GLint(srcY0), C.GLint(srcX1), C.GLint(srcY1), C.GLint(dstX0), C.GLint(dstY0), C.GLint(dstX1), C.GLint(dstY1), C.GLbitfield(mask), C.GLenum(filter)) }
//void glPushClientAttrib (GLbitfield mask) func PushClientAttrib(mask GLbitfield) { C.glPushClientAttrib(C.GLbitfield(mask)) }
//void glClear (GLbitfield mask) func Clear(mask GLbitfield) { C.goglClear(C.GLbitfield(mask)) log.Println("Cleared!") }
// Clear clears buffers to preset values. func Clear(bits ClearFlags) { C.glClear(C.GLbitfield(bits)) }