Example #1
0
func IsBuffer(b Buffer) (r0 bool) {
	defer func() {
		errstr := errDrain()
		log.Printf("gl.IsBuffer(%v) %v%v", b, r0, errstr)
	}()
	return C.glIsBuffer(b.c()) != 0
}
Example #2
0
func IsBuffer(b Buffer) bool {
	return C.glIsBuffer(b.c()) != 0
}
Example #3
0
func IsBuffer(buffer uint32) bool {
	return *goBoolean(C.glIsBuffer(
		C.GLuint(buffer)))
}
Example #4
0
File: object.go Project: pwaller/gl
func (object Object) IsBuffer() bool { return C.glIsBuffer(C.GLuint(object)) != 0 }