func StencilFuncSeparate(face, fn Enum, ref int, mask uint32) { defer func() { errstr := errDrain() log.Printf("gl.StencilFuncSeparate(%v, %v, %v, %v) %v", face, fn, ref, mask, errstr) }() C.glStencilFuncSeparate(face.c(), fn.c(), C.GLint(ref), C.GLuint(mask)) }
func StencilFuncSeparate( face Enum, func_ Enum, ref int32, mask uint32) { C.glStencilFuncSeparate( C.GLenum(face), C.GLenum(func_), C.GLint(ref), C.GLuint(mask)) }
func StencilFuncSeparate(face, fn Enum, ref int, mask uint32) { C.glStencilFuncSeparate(face.c(), fn.c(), C.GLint(ref), C.GLuint(mask)) }
func StencilFuncSeparate(face Face, f TestFunc, ref int32, mask uint32) { C.glStencilFuncSeparate(C.GLenum(face), C.GLenum(f), C.GLint(ref), C.GLuint(mask)) }
func StencilFuncSeparate(face, func_ uint, ref int, mask uint) { C.glStencilFuncSeparate( C.GLenum(face), C.GLenum(func_), C.GLint(ref), C.GLuint(mask)) }