]> git.tdb.fi Git - libs/gl.git/blob - source/backends/opengl/texture2darray_backend.h
Add support for padding in vertex formats
[libs/gl.git] / source / backends / opengl / texture2darray_backend.h
1 #ifndef MSP_GL_TEXTURE2DARRAY_BACKEND_H_
2 #define MSP_GL_TEXTURE2DARRAY_BACKEND_H_
3
4 #include "texture3d.h"
5
6 namespace Msp {
7 namespace GL {
8
9 class OpenGLTexture2DArray: public Texture3D
10 {
11 protected:
12         OpenGLTexture2DArray();
13
14 public:
15         virtual std::size_t get_data_size() const;
16 };
17
18 using Texture2DArrayBackend = OpenGLTexture2DArray;
19
20 } // namespace GL
21 } // namespace Msp
22
23 #endif