GLI 0.6.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

levels.hpp
Go to the documentation of this file.
1
32 #pragma once
33
34 #include "type.hpp"
35
36 namespace gli
37 {
49 template <template <typename, glm::precision> class dimType>
50 size_t levels(dimType<size_t, glm::defaultp> const & Dimensions);
51
62 size_t levels(size_t Dimension);
63 }//namespace gli
64
65 #include "levels.inl"
gli::levels
size_t levels(dimType< size_t, glm::defaultp > const &Dimensions)
Compute the number of mipmaps levels necessary to create a mipmap complete texture.
gli
Definition: addressing.hpp:33
type.hpp
OpenGL Image (gli.g-truc.net)