#ifndef MSP_GL_TEXTURE2DARRAY_H_
#define MSP_GL_TEXTURE2DARRAY_H_
-#include "texture3d.h"
+#include "texture2darray_backend.h"
namespace Msp {
namespace GL {
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<Texture2DArray, Texture3D::Loader>
void external_image(unsigned, const std::string &);
};
- Texture2DArray();
-
void layer_image(unsigned, unsigned, const void *);
void layer_image(unsigned, unsigned, const Graphics::Image &);