func DeleteTextures( n Sizei, textures *uint32) { C.glDeleteTextures( C.GLsizei(n), (*C.GLuint)(textures)) }
func DeleteTexture(v Texture) { defer func() { errstr := errDrain() log.Printf("gl.DeleteTexture(%v) %v", v, errstr) }() C.glDeleteTextures(1, (*C.GLuint)(&v.Value)) }
func DeleteTexture(v Texture) { C.glDeleteTextures(1, (*C.GLuint)(&v.Value)) }
// Delete all textures in slice func DeleteTextures(textures []Texture) { if len(textures) > 0 { C.glDeleteTextures(C.GLsizei(len(textures)), (*C.GLuint)(&textures[0])) } }
// Delete texture object func (texture Texture) Delete() { b := C.GLuint(texture) C.glDeleteTextures(1, &b) }
func (t Texture) Delete() { C.glDeleteTextures(1, (*C.GLuint)(&t)) }