GLI 0.6.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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