20 #ifndef ANTKEEPER_GL_CUBE_MAP_HPP
21 #define ANTKEEPER_GL_CUBE_MAP_HPP
Graphics library interface.
std::uint32_t infer_cube_map_face_width(std::uint32_t width, std::uint32_t height, cube_map_layout layout) noexcept
Infers the width of a cube map face from its dimensons and layout.
cube_map_layout infer_cube_map_layout(std::uint32_t width, std::uint32_t height) noexcept
Infers the layout of a cube map from its dimensions.
cube_map_layout
Cube map layouts.
@ column
Faces are stored consecutively in a single column.
@ spherical
Faces are stored in a spherical projection.
@ horizontal_cross
Faces are stored in a horizontal cross.
@ equirectangular
Faces are stored in an equirectangular projection.
@ vertical_cross
Faces are stored in a vertical cross.
@ row
Faces are stored consecutively in a single row.