Antkeeper
0.0.1
|
#include <cstdint>
Go to the source code of this file.
Namespaces | |
gl | |
Graphics library interface. | |
Enumerations | |
enum class | gl::cube_map_layout : std::uint8_t { gl::unknown , gl::column , gl::row , gl::vertical_cross , gl::horizontal_cross , gl::equirectangular , gl::spherical } |
Cube map layouts. More... | |
Functions | |
cube_map_layout | gl::infer_cube_map_layout (std::uint32_t width, std::uint32_t height) noexcept |
Infers the layout of a cube map from its dimensions. More... | |
std::uint32_t | gl::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. More... | |