作者:Miaqu
项目:moj
func Clear(mask Enum) {
defer func() {
errstr := errDrain()
log.Printf("gl.Clear(%v) %v", mask, errstr)
}()
C.glClear(C.GLbitfield(mask))
}
作者:tanem
项目:amor
func Clear(mask Enum) {
C.glClear(C.GLbitfield(mask))
}
作者:remogatt
项目:egle
func Clear(
mask Bitfield) {
C.glClear(
C.GLbitfield(mask))
}
作者:extram
项目:g
// Clear calls glClear
func Clear(mask int) {
C.glClear(C.GLbitfield(mask))
}
作者:skar
项目:GarageEngin
// 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))
}
作者:james4
项目:g
//void glPushClientAttrib (GLbitfield mask)
func PushClientAttrib(mask GLbitfield) {
C.glPushClientAttrib(C.GLbitfield(mask))
}
作者:Kalthor
项目:gogl3
//void glClear (GLbitfield mask)
func Clear(mask GLbitfield) {
C.goglClear(C.GLbitfield(mask))
log.Println("Cleared!")
}
作者:eaburn
项目:g
// Clear clears buffers to preset values.
func Clear(bits ClearFlags) {
C.glClear(C.GLbitfield(bits))
}