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