0.7.0
fetch.hpp
Go to the documentation of this file.
1 
29 #pragma once
30 
31 #include "../gli.hpp"
32 
33 namespace gli
34 {
37  template <typename genType>
38  genType texel_fetch(
39  texture2D const & Texture,
40  texture2D::dim_type const & Texcoord,
41  texture2D::size_type const & Level);
42 
45  template <typename genType>
46  void texel_write(
47  texture2D & Texture,
48  texture2D::dim_type const & Texcoord,
49  texture2D::size_type const & Level,
50  genType const & Color);
51 
54  template <typename genType>
55  genType texture_lod(
56  texture2D const & Texture,
57  texture2D::texcoord_type const & Texcoord,
58  texture2D::size_type const & Level);
59 
60 }//namespace gli
61 
62 #include "fetch.inl"