Esempio n. 1
0
func BlendFunc(
	sfactor Enum, dfactor Enum) {
	C.glBlendFunc(
		C.GLenum(sfactor),
		C.GLenum(dfactor))

}
Esempio n. 2
0
func BlendFunc(sfactor, dfactor Enum) {
	defer func() {
		errstr := errDrain()
		log.Printf("gl.BlendFunc(%v, %v) %v", sfactor, dfactor, errstr)
	}()
	C.glBlendFunc(sfactor.c(), dfactor.c())
}
Esempio n. 3
0
func BlendFunc(sfactor, dfactor Enum) {
	C.glBlendFunc(sfactor.c(), dfactor.c())
}
Esempio n. 4
0
File: gl.go Progetto: extrame/gl
// BlendFunc calls glBlendFunc
func BlendFunc(sfactor, dfactor int) {
	C.glBlendFunc(C.GLenum(sfactor), C.GLenum(dfactor))
}
Esempio n. 5
0
File: gl.go Progetto: eaburns/gl
// BlendFunc specifies pixel arithmetic
func BlendFunc(srcFactor, dstFactor BlendFunction) {
	C.glBlendFunc(C.GLenum(srcFactor), C.GLenum(dstFactor))
}