|
| | glsl_value (const std::string_view name) _GLSL_STRUCT_REQUIRES(utils |
| | default constructor with variable name
|
| | glsl_value (const std::string_view name, const value_type &value) _GLSL_STRUCT_REQUIRES(utils |
| | constructor with value of value_type type
|
| | glsl_value (const std::string_view name, const value_type *values, const size_t size) _GLSL_STRUCT_REQUIRES(utils |
| | constructor for array values with pointer to values and size
|
| | glsl_value (const std::string_view name, const std::vector< value_type > &values) _GLSL_STRUCT_REQUIRES(utils |
| | constructor for array values with std::vector
|
| | glsl_value (const std::string_view name, const std::array< value_type, array_size > &values) _GLSL_STRUCT_REQUIRES(utils |
| | constructor for array values with std::array
|
| | glsl_value (const std::string_view name, const value_type(&values)[array_size]) _GLSL_STRUCT_REQUIRES(utils |
| | constructor for array values with c-style array
|
| | glsl_value (const std::string_view name, const std::span< const value_type > values) _GLSL_STRUCT_REQUIRES(utils |
| | constructor for array values with std::span
|
| template<utils::glsl_struct Type = value_type> |
| | glsl_value (const std::string_view name, const _GLSL_STRUCT_TYPENAME17 Type::layout_type &layout) _GLSL_STRUCT_REQUIRES((utils |
| | constructor for struct array values
|
| template<utils::glsl_struct Type = value_type> |
| | glsl_value (const std::string_view name, const _GLSL_STRUCT_TYPENAME17 Type::layout_type &layout, const std::vector< std::vector< std::byte > > &values) _GLSL_STRUCT_REQUIRES((utils |
| | constructor for array values with std::vector
|
| template<utils::glsl_struct Type = value_type> |
| | glsl_value (const std::string_view name, const _GLSL_STRUCT_TYPENAME17 Type::layout_type &layout, const std::array< std::vector< std::byte >, array_size > &values) _GLSL_STRUCT_REQUIRES((utils |
| | constructor for array values with std::array
|
| template<utils::glsl_struct Type = value_type> |
| | glsl_value (const std::string_view name, const _GLSL_STRUCT_TYPENAME17 Type::layout_type &layout, const std::vector< std::byte > *values, const size_t size) _GLSL_STRUCT_REQUIRES((utils |
| | constructor for array values with pointer to values and size
|
| template<utils::glsl_struct Type = value_type> |
| | glsl_value (const std::string_view name, const _GLSL_STRUCT_TYPENAME17 Type::layout_type &layout, const std::vector< std::byte >(&values)[Num]) _GLSL_STRUCT_REQUIRES((utils |
| | constructor for array values with c-style array values
|
| template<utils::glsl_struct Type = value_type> |
| | glsl_value (const std::string_view name, const _GLSL_STRUCT_TYPENAME17 Type::layout_type &layout, const std::span< const std::vector< std::byte > > values) _GLSL_STRUCT_REQUIRES((utils |
| | constructor for array values with std::span
|
template<utils::glsl_simple_or_struct T, size_t Num>
struct glslstruct::glsl_value< T, Num >
container for values for easier initialization of structs
- Template Parameters
-
| T | value type |
| num | number of elements in array (default is 0. if it is 0 then it is not array but a single value) |