|
| | array_value () _GLSL_STRUCT_REQUIRES(std |
| | default constructor
|
| | array_value (const std::vector< T > &values) |
| | constructor with std::vector values
|
| | array_value (const std::array< T, Num > &values) |
| | constructor with std::array values
|
| | array_value (const T *values, const size_t size) |
| | constructor with pointer to values and size
|
| | array_value (const T(&values)[Num]) |
| | constructor with c-style array values
|
| | array_value (const std::span< const T > values) |
| | constructor with std::span values
|
|
| static std::array< T, Num > | init_value (const std::vector< T > &values) |
| | static conversion from std::vector to std::array
|
| static std::array< T, Num > | init_value (const T *values, const size_t size) |
| | static conversion from pointer and size to std::array
|
| static std::array< T, Num > | init_value (const T(&values)[Num]) |
| | static conversion from c-style array to std::array
|
| static std::array< T, Num > | init_value (const std::span< const T > values) |
| | static conversion from std::span to std::array
|
template<class T, size_t Num>
struct glslstruct::utils::array_value< T, Num >
container for array values
- Template Parameters
-
| T | value type |
| num | array size |