GLI 0.5.1

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

fetch.hpp
Go to the documentation of this file.
1
29 #ifndef GLI_GTX_FETCH_INCLUDED
30 #define GLI_GTX_FETCH_INCLUDED
31
32 #include "../gli.hpp"
33
34 namespace gli
35 {
36 template <typename genType>
37 genType texelFetch(
38 texture2D const & Texture,
39 texture2D::dimensions_type const & Texcoord,
40 texture2D::size_type const & Level);
41
42 template <typename genType>
43 void texelWrite(
44 texture2D & Texture,
45 texture2D::dimensions_type const & Texcoord,
46 texture2D::size_type const & Level,
47 genType const & Color);
48
49 template <typename genType>
50 genType textureLod(
51 texture2D const & Texture,
52 texture2D::texcoord_type const & Texcoord,
53 texture2D::size_type const & Level);
54
55 }//namespace gli
56
57 #include "fetch.inl"
58
59 #endif//GLI_GTX_FETCH_INCLUDED
gli::texelWrite
void texelWrite(texture2D &Texture, texture2D::dimensions_type const &Texcoord, texture2D::size_type const &Level, genType const &Color)
gli::textureLod
genType textureLod(texture2D const &Texture, texture2D::texcoord_type const &Texcoord, texture2D::size_type const &Level)
gli::texture2D::dimensions_type
storage::dimensions2_type dimensions_type
Definition: texture2d.hpp:44
gli::texelFetch
genType texelFetch(texture2D const &Texture, texture2D::dimensions_type const &Texcoord, texture2D::size_type const &Level)
gli::texture2D::texcoord_type
storage::texcoord2_type texcoord_type
Definition: texture2d.hpp:45
gli::texture2D::size_type
storage::size_type size_type
Definition: texture2d.hpp:46