#ifndef MSP_GL_TEXTURECUBE_H_
#define MSP_GL_TEXTURECUBE_H_
+#include <msp/gl/extensions/arb_texture_cube_map.h>
#include <msp/graphics/image.h>
#include "texture.h"
#include "vector.h"
-#include <msp/gl/extensions/arb_texture_cube_map.h>
namespace Msp {
namespace GL {
unsigned get_size() const { return size; }
private:
- unsigned get_level_size(unsigned);
+ unsigned get_n_levels() const;
+ unsigned get_level_size(unsigned) const;
public:
/** Translates indices into face constants. Valid indices are between 0