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