示例#1
0
文件: gldebug.go 项目: Miaque/mojo
func IsTexture(t Texture) (r0 bool) {
	defer func() {
		errstr := errDrain()
		log.Printf("gl.IsTexture(%v) %v%v", t, r0, errstr)
	}()
	return C.glIsTexture(t.c()) != 0
}
示例#2
0
func IsTexture(t Texture) bool {
	return C.glIsTexture(t.c()) != 0
}
示例#3
0
文件: gles2.go 项目: remogatto/egles
func IsTexture(texture uint32) bool {
	return *goBoolean(C.glIsTexture(
		C.GLuint(texture)))
}
示例#4
0
文件: object.go 项目: pwaller/gl
func (object Object) IsTexture() bool { return C.glIsTexture(C.GLuint(object)) != 0 }
示例#5
0
func IsTexture(texture Texture) bool {
	return C.glIsTexture(C.GLuint(texture)) == C.GL_TRUE
}