Example #1
0
func StencilFunc(
	func_ Enum, ref int32, mask uint32) {
	C.glStencilFunc(
		C.GLenum(func_),
		C.GLint(ref),
		C.GLuint(mask))
}
Example #2
0
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))
}
Example #3
0
func StencilFunc(fn Enum, ref int, mask uint32) {
	C.glStencilFunc(fn.c(), C.GLint(ref), C.GLuint(mask))
}
Example #4
0
func StencilFunc(f TestFunc, ref int32, mask uint32) {
	C.glStencilFunc(C.GLenum(f), C.GLint(ref), C.GLuint(mask))
}
Example #5
0
func StencilFunc(func_ uint, ref int, mask uint) {
	C.glStencilFunc(C.GLenum(func_), C.GLint(ref), C.GLuint(mask))
}