0.7.0
copy.hpp
Go to the documentation of this file.
1 
29 #pragma once
30 
31 #include "image.hpp"
32 #include "texture1d.hpp"
33 #include "texture1d_array.hpp"
34 #include "texture2d.hpp"
35 #include "texture2d_array.hpp"
36 #include "texture3d.hpp"
37 #include "texture_cube.hpp"
38 #include "texture_cube_array.hpp"
39 
40 namespace gli
41 {
43  image copy(image const & Image);
44 
46  texture copy(texture const & Texture);
47 
49  template <typename texType>
50  texture copy(texType const & Texture);
51 
54  template <typename texType>
55  texture copy(texType const & Texture, format Format);
56 
58  texture copy(
59  texture1D const & Texture,
60  texture1D::size_type BaseLevel, texture1D::size_type MaxLevel);
61 
63  texture copy(
64  texture1DArray const & Texture,
65  texture1DArray::size_type BaseLayer, texture1DArray::size_type MaxLayer,
66  texture1DArray::size_type BaseLevel, texture1DArray::size_type MaxLevel);
67 
69  texture copy(
70  texture2D const & Texture,
71  texture2D::size_type BaseLevel, texture2D::size_type MaxLevel);
72 
74  texture copy(
75  texture2DArray const & Texture,
76  texture2DArray::size_type BaseLayer, texture2DArray::size_type MaxLayer,
77  texture2DArray::size_type BaseLevel, texture2DArray::size_type MaxLevel);
78 
80  texture copy(
81  texture3D const & Texture,
82  texture3D::size_type BaseLevel, texture3D::size_type MaxLevel);
83 
85  texture copy(
86  textureCube const & Texture,
87  textureCube::size_type BaseFace, textureCube::size_type MaxFace,
88  textureCube::size_type BaseLevel, textureCube::size_type MaxLevel);
89 
91  texture copy(
92  textureCubeArray const & Texture,
93  textureCubeArray::size_type BaseLayer, textureCubeArray::size_type MaxLayer,
94  textureCubeArray::size_type BaseFace, textureCubeArray::size_type MaxFace,
95  textureCubeArray::size_type BaseLevel, textureCubeArray::size_type MaxLevel);
96 }//namespace gli
97 
98 #include "./core/copy.inl"
OpenGL Image (gli.g-truc.net)
OpenGL Image (gli.g-truc.net)
OpenGL Image (gli.g-truc.net)
OpenGL Image (gli.g-truc.net)
OpenGL Image (gli.g-truc.net)
OpenGL Image (gli.g-truc.net)
OpenGL Image (gli.g-truc.net)
OpenGL Image (gli.g-truc.net)