示例#1
0
文件: gldebug.go 项目: Miaque/mojo
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))
}
示例#2
0
文件: gles2.go 项目: remogatto/egles
func StencilFuncSeparate(
	face Enum, func_ Enum, ref int32, mask uint32) {
	C.glStencilFuncSeparate(
		C.GLenum(face),
		C.GLenum(func_),
		C.GLint(ref),
		C.GLuint(mask))
}
示例#3
0
func StencilFuncSeparate(face, fn Enum, ref int, mask uint32) {
	C.glStencilFuncSeparate(face.c(), fn.c(), C.GLint(ref), C.GLuint(mask))
}
示例#4
0
文件: gl.go 项目: jackscan/go-gles2
func StencilFuncSeparate(face Face, f TestFunc, ref int32, mask uint32) {
	C.glStencilFuncSeparate(C.GLenum(face), C.GLenum(f), C.GLint(ref), C.GLuint(mask))
}
示例#5
0
文件: es2.go 项目: nick-fedesna/egles
func StencilFuncSeparate(face, func_ uint, ref int, mask uint) {
	C.glStencilFuncSeparate(
		C.GLenum(face), C.GLenum(func_), C.GLint(ref), C.GLuint(mask))
}