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