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_
12 #include "pixelformat.h"
18 class Texture3D: public Texture
29 void storage(PixelFormat, sizei, sizei, sizei, int);
30 void image(int, PixelFormat, DataType, const void *);
31 void sub_image(int, int, int, sizei, sizei, sizei, PixelFormat, DataType, const void *);
32 void load_image(const std::string &fn, int dp=-1);
33 sizei get_width() const { return width; }
34 sizei get_height() const { return height; }
35 sizei get_depth() const { return depth; }