Example #1
0
func StencilOpSeparate(face, sfail, dpfail, dppass Enum) {
	defer func() {
		errstr := errDrain()
		log.Printf("gl.StencilOpSeparate(%v, %v, %v, %v) %v", face, sfail, dpfail, dppass, errstr)
	}()
	C.glStencilOpSeparate(face.c(), sfail.c(), dpfail.c(), dppass.c())
}
Example #2
0
func StencilOpSeparate(
	face Enum, fail Enum,
	zfail Enum, zpass Enum) {
	C.glStencilOpSeparate(
		C.GLenum(face),
		C.GLenum(fail),
		C.GLenum(zfail),
		C.GLenum(zpass))
}
Example #3
0
func StencilOpSeparate(face, sfail, dpfail, dppass Enum) {
	C.glStencilOpSeparate(face.c(), sfail.c(), dpfail.c(), dppass.c())
}
Example #4
0
func StencilOpSeparate(face Face, fail, zfail, zpass StencilOperation) {
	C.glStencilOpSeparate(C.GLenum(face), C.GLenum(fail), C.GLenum(zfail), C.GLenum(zpass))
}
Example #5
0
func StencilOpSeparate(face, fail, zfail, zpass uint) {
	C.glStencilOpSeparate(
		C.GLenum(face), C.GLenum(fail), C.GLenum(zfail), C.GLenum(zpass))
}