Antkeeper  0.0.1
Namespaces | Functions
cube-map.cpp File Reference
#include <engine/gl/cube-map.hpp>

Go to the source code of this file.

Namespaces

 gl
 Graphics library interface.
 

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...