Flutter Engine
The Flutter Engine
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 178 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 182 of file shader_types.h.

182: 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 180 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 179 of file shader_types.h.


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