GLI  0.5.1
generate_mipmaps.hpp
Go to the documentation of this file.
1 
29 #ifndef GLI_GENERATE_MIPMAPS_INCLUDED
30 #define GLI_GENERATE_MIPMAPS_INCLUDED
31 
32 #include "texture2d.hpp"
33 
34 namespace gli
35 {
36  template <typename texture>
37  texture generateMipmaps(
38  texture const & Texture,
39  typename texture::size_type const & BaseLevel);
40 
41 }//namespace gli
42 
43 #include "generate_mipmaps.inl"
44 
45 #endif//GLI_GENERATE_MIPMAPS_INCLUDED
OpenGL Image (gli.g-truc.net)
std::size_t size_type
Definition: storage.hpp:59
texture generateMipmaps(texture const &Texture, typename texture::size_type const &BaseLevel)