| 0.8.2 API documentation

- Main Page
- Namespaces
- Classes
- Files

- File List

clear.hpp
Go to the documentation of this file.
1
4 #pragma once
5
6 namespace gli
7 {
9 template <typename texture_type>
10 void clear(texture_type& Texture);
11
13 template <typename texture_type, typename gen_type>
14 void clear(texture_type& Texture, gen_type const& BlockData);
15
17 template <typename texture_type, typename gen_type>
18 void clear(texture_type& Texture, size_t Layer, size_t Face, size_t Level, gen_type const& BlockData);
19
20 // Clear an entire level of a texture
21 template <typename texture_type, typename gen_type>
22 void clear_level(texture_type& Texture, size_t BaseLevel, gen_type const& BlockData);
23
24 // Clear multiple levels of a texture
25 template <typename texture_type, typename gen_type>
26 void clear_level(texture_type& Texture, size_t BaseLevel, size_t LevelCount, gen_type const& BlockData);
27
28 // Clear an entire face of a texture
29 template <typename texture_type, typename gen_type>
30 void clear_face(texture_type& Texture, size_t BaseFace, gen_type const& BlockData);
31
32 // Clear multiple faces of a texture
33 template <typename texture_type, typename gen_type>
34 void clear_face(texture_type& Texture, size_t BaseFace, size_t FaceCount, gen_type const& BlockData);
35
36 // Clear an entire layer of a texture
37 template <typename texture_type, typename gen_type>
38 void clear_layer(texture_type& Texture, size_t BaseLayer, gen_type const& BlockData);
39
40 // Clear multiple layers of a texture
41 template <typename texture_type, typename gen_type>
42 void clear_layer(texture_type& Texture, size_t BaseLayer, size_t LayerCount, gen_type const& BlockData);
43
44 }//namespace gli
45
46 #include "./core/clear.inl"
47
gli
Namespace where all the classes and functions provided by GLI are exposed.
Definition: clear.hpp:6
gli::clear
void clear(texture_type &Texture)
Clear a complete texture.