示例#1
0
文件: gles2.go 项目: remogatto/egles
func BlendColor(
	red Clampf, green Clampf,
	blue Clampf, alpha Clampf) {
	C.glBlendColor(
		C.GLclampf(red),
		C.GLclampf(green),
		C.GLclampf(blue),
		C.GLclampf(alpha))

}
示例#2
0
文件: gl.go 项目: jackscan/go-gles2
func BlendColor(red, green, blue, alpha float32) {
	C.glBlendColor(C.GLclampf(red), C.GLclampf(green), C.GLclampf(blue), C.GLclampf(alpha))
}
示例#3
0
文件: gl.go 项目: jackscan/go-gles3
func BlendColor(red, green, blue, alpha float32) {
	C.glBlendColor(C.GLfloat(red), C.GLfloat(green), C.GLfloat(blue), C.GLfloat(alpha))
}