| 0.8.0 API documentation

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

- File List

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"
texture2d.hpp
Include to use 2d textures.
gli
Namespace where all the classes and functions provided by GLI are exposed.
Definition: comparison.hpp:15
gli::convert
texture_type convert(texture_type const &Texture, format Format)
Convert texture data to a new format.
texture1d_array.hpp
Include to use 1d array textures.
texture3d.hpp
Include to use 3d textures.
gli::format
format
Texture data format.
Definition: format.hpp:12
texture1d.hpp
Include to use 1d textures.
texture2d_array.hpp
Include to use 2d array textures.
texture_cube_array.hpp
Include to use cube map array textures.
texture_cube.hpp
Include to use cube map textures.