| 0.8.1 API documentation

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

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"
type.hpp
Include to use basic GLI types.
gli
Namespace where all the classes and functions provided by GLI are exposed.
Definition: clear.hpp:6
gli::levels
T levels(vecType< T, P > const &Extent)
Compute the number of mipmaps levels necessary to create a mipmap complete texture.