// Delete all transform feedbacks in a slice func DeleteTransformFeedbacks(feedbacks []TransformFeedback) { if len(feedbacks) > 0 { C.glDeleteTransformFeedbacks(C.GLsizei(len(feedbacks)), (*C.GLuint)(&feedbacks[0])) } }
// Delete a transform feedback object func (feedback TransformFeedback) Delete() { C.glDeleteTransformFeedbacks(1, (*C.GLuint)(&feedback)) }