X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture2darray.h;h=662fbad8c71c7ac8de37fed1280e47062ccaa0f1;hb=083a8227715fa32c841fc2b8126e4ab8d2840ba0;hp=bd7d03be9e8b3818b9c3c6d9435a438320f64a63;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266;p=libs%2Fgl.git diff --git a/source/core/texture2darray.h b/source/core/texture2darray.h index bd7d03be..662fbad8 100644 --- a/source/core/texture2darray.h +++ b/source/core/texture2darray.h @@ -1,7 +1,7 @@ #ifndef MSP_GL_TEXTURE2DARRAY_H_ #define MSP_GL_TEXTURE2DARRAY_H_ -#include "texture3d.h" +#include "texture2darray_backend.h" namespace Msp { namespace GL { @@ -11,7 +11,7 @@ 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 +class Texture2DArray: public Texture2DArrayBackend { public: class Loader: public Msp::DataFile::DerivedObjectLoader @@ -25,10 +25,7 @@ public: 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(); }