|
GLSL Struct 1.4.0
glslstruct
|
container for array of structs More...
#include <glsl_value.hpp>
Public Member Functions | |
| struct_array_value (const layout_type &layout) | |
| constructor with layout | |
| struct_array_value (const layout_type &layout, const std::vector< value_type > &values) | |
| constructor with layout and std::vector values | |
| struct_array_value (const layout_type &layout, const std::array< value_type, Num > &values) | |
| constructor with layout and std::array values | |
| struct_array_value (const layout_type &layout, const value_type *values, size_t size) | |
| constructor with layout and pointer to values and size | |
| struct_array_value (const layout_type &layout, const value_type(&values)[Num]) | |
| constructor with layout and c-style array values | |
| struct_array_value (const layout_type &layout, const std::span< const value_type > values) | |
| constructor with layout and std::span values | |
| Public Member Functions inherited from glslstruct::utils::array_value< std::vector< std::byte >, Num > | |
| array_value () _GLSL_STRUCT_REQUIRES(std | |
| default constructor | |
Public Attributes | |
| const layout_type | layout |
| layout value | |
| Public Attributes inherited from glslstruct::utils::array_value< std::vector< std::byte >, Num > | |
| const std::array< std::vector< std::byte >, Num > | value |
| array value | |
Private Types | |
| using | value_type = std::vector<std::byte> |
| value type | |
| using | array_type = array_value<value_type, Num> |
| type of array | |
| using | layout_type = _GLSL_STRUCT_TYPENAME17 T::layout_type |
| layout type | |
Additional Inherited Members | |
| Static Public Member Functions inherited from glslstruct::utils::array_value< std::vector< std::byte >, Num > | |
| static std::array< std::vector< std::byte >, Num > | init_value (const std::vector< T > &values) |
| static conversion from std::vector to std::array | |
container for array of structs
| T | struct type |
| num | number of arrays |
|
private |
type of array
|
private |
layout type
|
private |
value type
|
inlineexplicit |
constructor with layout
|
inline |
constructor with layout and std::vector values
|
inline |
constructor with layout and std::array values
|
inline |
constructor with layout and pointer to values and size
|
inline |
constructor with layout and c-style array values
|
inline |
constructor with layout and std::span values
| const layout_type glslstruct::utils::struct_array_value< T, Num >::layout |
layout value