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