func DeleteBuffers(buffers []*Buffer) { n := len(buffers) bufferIds := make([]C.ALuint, n) for i, v := range buffers { forgetBuffer(v) bufferIds[i] = v.handle } C.walDeleteBuffers(C.ALsizei(n), unsafe.Pointer(&bufferIds[0])) return }
// DeleteBuffers() deletes the given buffers. func DeleteBuffers(buffers []Buffer) { n := len(buffers) C.walDeleteBuffers(C.ALsizei(n), unsafe.Pointer(&buffers[0])) }
// Delete() deletes the given buffers. func (self Buffers) Delete() { n := len(self) C.walDeleteBuffers(C.ALsizei(n), unsafe.Pointer(&self[0])) }