func NewTexture1D(levels int32, f TextureFormat, width int32) Texture1D {
	var t Texture1D
	t.format = f
	t.object = C.NewTexture1D(C.GLsizei(levels), C.GLenum(f), C.GLsizei(width))
	return t
}
NewTexture1D returns a new one-dimensional texture.
package gl
import (
	"image"
)
import "C"
type Texture1D struct {
	object C.GLuint
	format TextureFormat
}