0.7.0
view.hpp
Go to the documentation of this file.
1 
29 #pragma once
30 
31 #include "image.hpp"
32 #include "texture.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 {
44  image view(image const & Image);
45 
47  texture view(texture const & Texture);
48 
50  template <typename texType>
51  texture view(texType const & Texture);
52 
55  template <typename texType>
56  texture view(texType const & Texture, format Format);
57 
59  texture view(
60  texture1D const & Texture,
61  texture1D::size_type BaseLevel, texture1D::size_type MaxLevel);
62 
64  texture view(
65  texture1DArray const & Texture,
66  texture1DArray::size_type BaseLayer, texture1DArray::size_type MaxLayer,
67  texture1DArray::size_type BaseLevel, texture1DArray::size_type MaxLevel);
68 
70  texture view(
71  texture2D const & Texture,
72  texture2D::size_type BaseLevel, texture2D::size_type MaxLevel);
73 
75  texture view(
76  texture2DArray const & Texture,
77  texture2DArray::size_type BaseLayer, texture2DArray::size_type MaxLayer,
78  texture2DArray::size_type BaseLevel, texture2DArray::size_type MaxLevel);
79 
81  texture view(
82  texture3D const & Texture,
83  texture3D::size_type BaseLevel, texture3D::size_type MaxLevel);
84 
86  texture view(
87  textureCube const & Texture,
88  textureCube::size_type BaseFace, textureCube::size_type MaxFace,
89  textureCube::size_type BaseLevel, textureCube::size_type MaxLevel);
90 
92  texture view(
93  textureCubeArray const & Texture,
94  textureCubeArray::size_type BaseLayer, textureCubeArray::size_type MaxLayer,
95  textureCubeArray::size_type BaseFace, textureCubeArray::size_type MaxFace,
96  textureCubeArray::size_type BaseLevel, textureCubeArray::size_type MaxLevel);
97 }//namespace gli
98 
99 #include "./core/view.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)
OpenGL Image (gli.g-truc.net)