enum mrpt::opengl::CUBE_TEXTURE_FACE
Overview
Enum type for each of the 6 faces of a Cube Texture. More…
#include <CUBE_TEXTURE_FACE.h> enum CUBE_TEXTURE_FACE { LEFT = 0, RIGHT, TOP, BOTTOM, FRONT, BACK, };
Detailed Documentation
Enum type for each of the 6 faces of a Cube Texture.
Note that these enums must be defined in the same order than OpenGL API constants:
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A