16 template <
typename vec_type>
19 typedef vec_type(*type)(vec_type
const & A, vec_type
const & B);
28 template <
typename vec_type>
29 vec_type
reduce(texture1d
const & In0, texture1d
const & In1,
typename reduce_func<vec_type>::type TexelFunc,
typename reduce_func<vec_type>::type ReduceFunc);
37 template <
typename vec_type>
38 vec_type
reduce(texture1d_array
const & In0, texture1d_array
const & In1,
typename reduce_func<vec_type>::type TexelFunc,
typename reduce_func<vec_type>::type ReduceFunc);
46 template <
typename vec_type>
47 vec_type
reduce(texture2d
const & In0, texture2d
const & In1,
typename reduce_func<vec_type>::type TexelFunc,
typename reduce_func<vec_type>::type ReduceFunc);
55 template <
typename vec_type>
56 vec_type
reduce(texture2d_array
const & In0, texture2d_array
const & In1,
typename reduce_func<vec_type>::type TexelFunc,
typename reduce_func<vec_type>::type ReduceFunc);
64 template <
typename vec_type>
65 vec_type
reduce(texture3d
const & In0, texture3d
const & In1,
typename reduce_func<vec_type>::type TexelFunc,
typename reduce_func<vec_type>::type ReduceFunc);
73 template <
typename vec_type>
74 vec_type
reduce(texture_cube
const & In0, texture_cube
const & In1,
typename reduce_func<vec_type>::type TexelFunc,
typename reduce_func<vec_type>::type ReduceFunc);
82 template <
typename vec_type>
83 vec_type
reduce(texture_cube_array
const & In0, texture_cube_array
const & In1,
typename reduce_func<vec_type>::type TexelFunc,
typename reduce_func<vec_type>::type ReduceFunc);
91 template <
typename texture_type,
typename vec_type>
92 vec_type
reduce(texture_type
const & In0, texture_type
const & In1,
typename reduce_func<vec_type>::type TexelFunc,
typename reduce_func<vec_type>::type ReduceFunc);
95 #include "./core/reduce.inl"
Include to use 1d textures.
Include to use 2d textures.
Namespace where all the classes and functions provided by GLI are exposed.
Include to use 1d array textures.
vec_type reduce(texture1d const &In0, texture1d const &In1, typename reduce_func< vec_type >::type TexelFunc, typename reduce_func< vec_type >::type ReduceFunc)
Compute per-texel operations using a user defined function.
Include to use cube map array textures.
Include to use 3d textures.
Include to use cube map textures.
Include to use 2d array textures.