1 #ifndef MSP_GL_TEXTURE2DARRAY_H_
2 #define MSP_GL_TEXTURE2DARRAY_H_
4 #include "texture2darray_backend.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 Texture2DArrayBackend
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 &);
28 void layer_image(unsigned, unsigned, const void *);
29 void layer_image(unsigned, unsigned, const Graphics::Image &);
31 unsigned get_layers() const { return get_depth(); }