]> git.tdb.fi Git - libs/gl.git/blob - source/backends/opengl/texture3d_backend.h
Move all OpenGL-specific code to a separate directory
[libs/gl.git] / source / backends / opengl / texture3d_backend.h
1 #ifndef MSP_GL_TEXTURE3D_BACKEND_H_
2 #define MSP_GL_TEXTURE3D_BACKEND_H_
3
4 #include "texture.h"
5
6 namespace Msp {
7 namespace GL {
8
9 class OpenGLTexture3D: public Texture
10 {
11 protected:
12         OpenGLTexture3D();
13         OpenGLTexture3D(unsigned);
14
15         void allocate();
16         void sub_image(unsigned, int, int, int, unsigned, unsigned, unsigned, const void *);
17
18         bool is_array() const;
19 };
20
21 using Texture3DBackend = OpenGLTexture3D;
22
23 } // namespace GL
24 } // namespace Msp
25
26 #endif