1 #ifndef MSP_GL_TEXTURE1D_H_
2 #define MSP_GL_TEXTURE1D_H_
9 class Texture1D: public Texture
19 void storage(PixelFormat, unsigned);
20 void allocate(unsigned);
21 void image(unsigned, PixelFormat, DataType, const void *);
22 unsigned get_width() const { return width; }
25 unsigned get_level_size(unsigned);
28 virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }
29 virtual UInt64 get_data_size() const;
30 virtual void unload() { }