1 #ifndef MSP_GL_TEXTURE1D_H_
2 #define MSP_GL_TEXTURE1D_H_
5 #include "pixelformat.h"
11 class Texture1D: public Texture
21 void storage(PixelFormat, unsigned);
22 void allocate(unsigned);
23 void image(unsigned, PixelFormat, DataType, const void *);
24 unsigned get_width() const { return width; }
27 unsigned get_level_size(unsigned);
30 virtual AsyncLoader *load(IO::Seekable &) { return 0; }
31 virtual UInt64 get_data_size() const;
32 virtual void unload() { }