Пример #1
0
func (vbo *VertexBufferObject) Delete() {
	gl.DeleteBuffers(1, &vbo.id)
}
Пример #2
0
func (buffer *Buffer) Delete() {
	gl33.DeleteBuffers(1, &buffer.Id)
}
Пример #3
0
func free() {
	gl.DeleteProgram(program)
	gl.DeleteBuffers(1, &vboTriangle)
}