1 #ifndef BLOBS_GRAPHICS_CUBEMAP_HPP_
2 #define BLOBS_GRAPHICS_CUBEMAP_HPP_
5 #include "TextureBase.hpp"
16 : public TextureBase<GL_TEXTURE_CUBE_MAP> {
20 RIGHT = GL_TEXTURE_CUBE_MAP_POSITIVE_X,
21 LEFT = GL_TEXTURE_CUBE_MAP_NEGATIVE_X,
22 TOP = GL_TEXTURE_CUBE_MAP_POSITIVE_Y,
23 BOTTOM = GL_TEXTURE_CUBE_MAP_NEGATIVE_Y,
24 BACK = GL_TEXTURE_CUBE_MAP_POSITIVE_Z,
25 FRONT = GL_TEXTURE_CUBE_MAP_NEGATIVE_Z,
32 CubeMap(CubeMap &&) noexcept;
33 CubeMap &operator =(CubeMap &&) noexcept;
35 CubeMap(const CubeMap &) = delete;
36 CubeMap &operator =(const CubeMap &) = delete;
39 void Data(Face, const SDL_Surface &);
40 void Data(Face, GLsizei w, GLsizei h, const Format &, GLvoid *data) noexcept;