0.8.0 API documentation
convert.hpp
Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "texture1d.hpp"
7 #include "texture1d_array.hpp"
8 #include "texture2d.hpp"
9 #include "texture2d_array.hpp"
10 #include "texture3d.hpp"
11 #include "texture_cube.hpp"
12 #include "texture_cube_array.hpp"
13 
14 namespace gli
15 {
20  template <typename texture_type>
21  texture_type convert(texture_type const& Texture, format Format);
22 
23 }//namespace gli
24 
25 #include "./core/convert.inl"
Include to use 2d textures.
Namespace where all the classes and functions provided by GLI are exposed.
Definition: comparison.hpp:15
texture_type convert(texture_type const &Texture, format Format)
Convert texture data to a new format.
Include to use 1d array textures.
Include to use 3d textures.
format
Texture data format.
Definition: format.hpp:12
Include to use 1d textures.
Include to use 2d array textures.
Include to use cube map array textures.
Include to use cube map textures.