3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GL_TEXTURE3D_H_
9 #define MSP_GL_TEXTURE3D_H_
13 #include "pixelformat.h"
19 class Texture3D: public Texture
30 void storage(PixelFormat, unsigned, unsigned, unsigned, int);
31 void image(int, PixelFormat, DataType, const void *);
32 void sub_image(int, int, int, unsigned, unsigned, unsigned, PixelFormat, DataType, const void *);
33 void load_image(const std::string &fn, int dp = -1);
34 unsigned get_width() const { return width; }
35 unsigned get_height() const { return height; }
36 unsigned get_depth() const { return depth; }