Std140 Layout traits.
More...
#include <std140_layout_traits.hpp>
|
| static size_t | get_scalar_alignment (ValueType valueType, context_type &ctx) noexcept |
| | std140 layout scalar alignment
|
| static size_t | get_vec_alignment (ValueType valueType, size_t length, context_type &ctx) noexcept |
| | std140 layout vec alignment
|
| static size_t | get_array_alignment (size_t elemBaseAlignment, context_type &ctx) noexcept |
| | std140 layout array alignment
|
| static size_t | get_struct_alignment (const context_type &ctx) noexcept |
| | std140 layout struct alignment
|
| static void | before_add (size_t ¤tOffset, context_type &ctx) noexcept |
| | std140 layout before_add action
|
| static void | after_add (size_t ¤tOffset, size_t size, size_t alignment, context_type &ctx) noexcept |
| | std140 layout after_add action
|
| static void | after_add_struct (size_t ¤tOffset, size_t size, size_t alignment, context_type &ctx) noexcept |
| | std140 layout after_add_struct action
|
◆ context_type
std140 layout context type
◆ after_add()
| void std140_layout_traits::after_add |
( |
size_t & | currentOffset, |
|
|
size_t | size, |
|
|
size_t | alignment, |
|
|
context_type & | ctx ) |
|
staticnoexcept |
std140 layout after_add action
◆ after_add_struct()
| void std140_layout_traits::after_add_struct |
( |
size_t & | currentOffset, |
|
|
size_t | size, |
|
|
size_t | alignment, |
|
|
context_type & | ctx ) |
|
staticnoexcept |
std140 layout after_add_struct action
◆ before_add()
| void std140_layout_traits::before_add |
( |
size_t & | currentOffset, |
|
|
context_type & | ctx ) |
|
staticnoexcept |
std140 layout before_add action
◆ get_array_alignment()
| size_t std140_layout_traits::get_array_alignment |
( |
size_t | elemBaseAlignment, |
|
|
context_type & | ctx ) |
|
staticnoexcept |
std140 layout array alignment
◆ get_scalar_alignment()
| size_t std140_layout_traits::get_scalar_alignment |
( |
ValueType | valueType, |
|
|
context_type & | ctx ) |
|
staticnoexcept |
std140 layout scalar alignment
◆ get_struct_alignment()
| size_t std140_layout_traits::get_struct_alignment |
( |
const context_type & | ctx | ) |
|
|
staticnoexcept |
std140 layout struct alignment
◆ get_vec_alignment()
| size_t std140_layout_traits::get_vec_alignment |
( |
ValueType | valueType, |
|
|
size_t | length, |
|
|
context_type & | ctx ) |
|
staticnoexcept |
std140 layout vec alignment