示例#1
0
func (vbo *VertexBufferObject) Delete() {
	gl.DeleteBuffers(1, &vbo.id)
}
示例#2
0
文件: buffer.go 项目: klkblake/sge
func (buffer *Buffer) Delete() {
	gl33.DeleteBuffers(1, &buffer.Id)
}
示例#3
0
func free() {
	gl.DeleteProgram(program)
	gl.DeleteBuffers(1, &vboTriangle)
}