Пример #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
}
Пример #2
0
func IsBuffer(b Buffer) bool {
	return C.glIsBuffer(b.c()) != 0
}
Пример #3
0
func IsBuffer(buffer uint32) bool {
	return *goBoolean(C.glIsBuffer(
		C.GLuint(buffer)))
}
Пример #4
0
func (object Object) IsBuffer() bool { return C.glIsBuffer(C.GLuint(object)) != 0 }