0.8.1 API documentation
levels.hpp
Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "type.hpp"
7 
8 namespace gli
9 {
21  template <typename T, precision P, template <typename, precision> class vecType>
22  T levels(vecType<T, P> const& Extent);
23 /*
33  size_t levels(size_t Extent);
34 
44  int levels(int Extent);
45 */
46 }//namespace gli
47 
48 #include "./core/levels.inl"
Include to use basic GLI types.
Namespace where all the classes and functions provided by GLI are exposed.
Definition: clear.hpp:6
T levels(vecType< T, P > const &Extent)
Compute the number of mipmaps levels necessary to create a mipmap complete texture.