コード例 #1
0
ファイル: gldebug.go プロジェクト: Miaque/mojo
func IsEnabled(cap Enum) (r0 bool) {
	defer func() {
		errstr := errDrain()
		log.Printf("gl.IsEnabled(%v) %v%v", cap, r0, errstr)
	}()
	return C.glIsEnabled(cap.c()) != 0
}
コード例 #2
0
ファイル: gl_opengles.go プロジェクト: tanema/amore
func IsEnabled(cap Enum) bool {
	return C.glIsEnabled(cap.c()) != 0
}
コード例 #3
0
ファイル: gles2.go プロジェクト: remogatto/egles
func IsEnabled(cap Enum) bool {
	return *goBoolean(C.glIsEnabled(
		C.GLenum(cap)))
}
コード例 #4
0
ファイル: gl.go プロジェクト: james4k/gl
//bool glIsEnabled (GLenum cap)
func IsEnabled(cap GLenum) bool {
	return goBool(C.glIsEnabled(C.GLenum(cap)))
}