1 #ifndef MSP_GL_TEXTURE2DARRAY_H_
2 #define MSP_GL_TEXTURE2DARRAY_H_
10 An array of two-dimensional textures. It's very much like a 3D texture, with
11 two important differences: there's no filtering nor mipmapping along the third
14 class Texture2DArray: public Texture3D
17 class Loader: public Msp::DataFile::DerivedObjectLoader<Texture2DArray, Texture3D::Loader>
20 Loader(Texture2DArray &);
21 Loader(Texture2DArray &, Collection &);
25 void external_image(unsigned, const std::string &);
30 void layer_image(unsigned, unsigned, const void *);
31 DEPRECATED void layer_image(unsigned, unsigned, PixelComponents, DataType, const void *);
32 void layer_image(unsigned, unsigned, const Graphics::Image &);
34 unsigned get_layers() const { return get_depth(); }