X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture2darray.h;h=5e0969aa200ec5c5869934e2525af75bd01048cd;hp=bd7d03be9e8b3818b9c3c6d9435a438320f64a63;hb=HEAD;hpb=2ba5af95fb7341b0e6b212e28d03208c6747aae5 diff --git a/source/texture2darray.h b/source/texture2darray.h deleted file mode 100644 index bd7d03be..00000000 --- a/source/texture2darray.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef MSP_GL_TEXTURE2DARRAY_H_ -#define MSP_GL_TEXTURE2DARRAY_H_ - -#include "texture3d.h" - -namespace Msp { -namespace GL { - -/** -An array of two-dimensional textures. It's very much like a 3D texture, with -two important differences: there's no filtering nor mipmapping along the third -dimension. -*/ -class Texture2DArray: public Texture3D -{ -public: - class Loader: public Msp::DataFile::DerivedObjectLoader - { - public: - Loader(Texture2DArray &); - Loader(Texture2DArray &, Collection &); - private: - void init(); - - void external_image(unsigned, const std::string &); - }; - - Texture2DArray(); - - void layer_image(unsigned, unsigned, const void *); - DEPRECATED void layer_image(unsigned, unsigned, PixelComponents, DataType, const void *); - void layer_image(unsigned, unsigned, const Graphics::Image &); - - unsigned get_layers() const { return get_depth(); } -}; - -} // namespace GL -} // namespace Msp - -#endif