| Flutter Impeller |

Public Member Functions | Public Attributes | List of all members
impeller::Padded< T, Size, class > Struct Template Reference

Struct used for padding uniform buffer array elements. More...

`#include <shader_types.h>`

## Public Member Functions
| Padded (T p_value)

## Public Attributes
T | value
Padding< Size > | _PADDING_

## Detailed Description

### template<typename T, size_t Size, class = std::enable_if_t<std::is_standard_layout_v<T>>>
struct impeller::Padded< T, Size, class >

Struct used for padding uniform buffer array elements.

Definition at line 183 of file shader_types.h.

## Constructor & Destructor Documentation

## ◆ Padded()

template<typename T , size_t Size, class = std::enable_if_t<std::is_standard_layout_v<T>>>

impeller::Padded< T, Size, class >::Padded | ( | T | p_value | ) |
| inline

Definition at line 187 of file shader_types.h.

187 : value(p_value) {}; // NOLINT(google-explicit-constructor)
impeller::Padded::value
T value
Definition: shader_types.h:184

## Member Data Documentation

## ◆ _PADDING_

template<typename T , size_t Size, class = std::enable_if_t<std::is_standard_layout_v<T>>>

Padding<Size> impeller::Padded< T, Size, class >::_PADDING_

Definition at line 185 of file shader_types.h.

## ◆ value

template<typename T , size_t Size, class = std::enable_if_t<std::is_standard_layout_v<T>>>

T impeller::Padded< T, Size, class >::value

Definition at line 184 of file shader_types.h.

The documentation for this struct was generated from the following file:

- impeller/core/shader_types.h