3 #include "core/cl/representation.h" 4 #include "core/cl/traits.h" 10 constexpr
auto simulation_bands = 8;
12 using bands_type = detail::cl_vector_constructor_t<float, simulation_bands>;
16 static constexpr
auto value = R
"( 17 typedef float8 bands_type; 21 constexpr auto make_bands_type(
float f) {
22 return construct_vector<simulation_bands>(f);
27 template <
size_t bands>
29 using bands_t = std::integral_constant<size_t, bands>;
30 using container = detail::cl_vector_constructor_t<float, bands>;
37 static constexpr
auto value = R
"( 39 bands_type absorption; 40 bands_type scattering; 45 template <
size_t bands>
46 constexpr
auto make_surface(
float s,
float d) {
48 construct_vector<bands>(d)};
51 template <
size_t bands>
53 return std::tie(x.absorption, x.scattering);
56 template <
size_t bands>
58 return to_tuple(a) == to_tuple(b);
61 template <
size_t bands>
76 static constexpr
auto value = R
"( 86 return std::tie(x.v0, x.v1, x.v2);
90 return to_tuple(a) == to_tuple(b);
Definition: representation.h:7
Definition: scene_structs.h:28
Definition: scene_structs.h:68
Definition: capsule_base.h:9