| 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 165 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 169 of file shader_types.h.

169 : value(p_value){}; // NOLINT(google-explicit-constructor)

## 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 167 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 166 of file shader_types.h.

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

- impeller/core/shader_types.h

impeller::Padded::value
T value
Definition: shader_types.h:166