GLI 0.5.1

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

copy.hpp
Go to the documentation of this file.
1
29 #ifndef GLI_CORE_COPY_INCLUDED
30 #define GLI_CORE_COPY_INCLUDED
31
32 #include "image.hpp"
33 #include "texture1d.hpp"
34 #include "texture1d_array.hpp"
35 #include "texture2d.hpp"
36 #include "texture2d_array.hpp"
37 #include "texture3d.hpp"
38 #include "texture_cube.hpp"
39 #include "texture_cube_array.hpp"
40
41 namespace gli
42 {
43 image copy(image const & Image);
44
45 template <typename texture>
46 texture copy(texture const & Texture);
47
48 texture1D copy(
49 texture1D const & Texture,
50 texture1D::size_type const & BaseLevel,
51 texture1D::size_type const & MaxLevel);
52
53 texture2D copy(
54 texture2D const & Texture,
55 texture2D::size_type const & BaseLevel,
56 texture2D::size_type const & MaxLevel);
57
58 texture3D copy(
59 texture3D const & Texture,
60 texture3D::size_type const & BaseLevel,
61 texture3D::size_type const & MaxLevel);
62
63 // texture can be texture1DArray, texture2DArray
64 template <typename texture>
65 texture copy(
66 texture const & Texture,
67 typename texture::size_type const & BaseLayer,
68 typename texture::size_type const & MaxLayer,
69 typename texture::size_type const & BaseLevel,
70 typename texture::size_type const & MaxLevel);
71
72 textureCube copy(
73 textureCube const & Texture,
74 textureCube::size_type const & BaseFace,
75 textureCube::size_type const & MaxFace,
76 textureCube::size_type const & BaseLevel,
77 textureCube::size_type const & MaxLevel);
78
79 textureCubeArray copy(
80 textureCubeArray const & Texture,
81 textureCubeArray::size_type const & BaseLayer,
82 textureCubeArray::size_type const & MaxLayer,
83 textureCubeArray::size_type const & BaseFace,
84 textureCubeArray::size_type const & MaxFace,
85 textureCubeArray::size_type const & BaseLevel,
86 textureCubeArray::size_type const & MaxLevel);
87 }//namespace gli
88
89 #include "copy.inl"
90
91 #endif//GLI_CORE_COPY_INCLUDED
texture2d_array.hpp
OpenGL Image (gli.g-truc.net)
image.hpp
OpenGL Image (gli.g-truc.net)
gli::texture3D::size_type
storage::size_type size_type
Definition: texture3d.hpp:41
texture_cube_array.hpp
OpenGL Image (gli.g-truc.net)
gli::textureCube::size_type
storage::size_type size_type
Definition: texture_cube.hpp:44
texture_cube.hpp
OpenGL Image (gli.g-truc.net)
texture2d.hpp
OpenGL Image (gli.g-truc.net)
gli::detail::size_type
std::size_t size_type
Definition: storage.hpp:59
gli::texture1D::size_type
storage::size_type size_type
Definition: texture1d.hpp:43
texture1d_array.hpp
OpenGL Image (gli.g-truc.net)
texture3d.hpp
OpenGL Image (gli.g-truc.net)
gli::texture2D::size_type
storage::size_type size_type
Definition: texture2d.hpp:46
gli::textureCubeArray::size_type
storage::size_type size_type
Definition: texture_cube_array.hpp:44
gli::copy
image copy(image const &Image)
texture1d.hpp
OpenGL Image (gli.g-truc.net)