| Flutter Impeller |

Public Member Functions | Public Attributes | List of all members
impeller::ShaderStageIOSlot Struct Reference

`#include <shader_types.h>`

## Public Member Functions
constexpr size_t | GetHash () const
constexpr bool | operator== (const ShaderStageIOSlot &other) const

## Public Attributes
const char * | name
size_t | location
size_t | set
size_t | binding
ShaderType | type
size_t | bit_width
size_t | vec_size
size_t | columns
size_t | offset

## Detailed Description

Definition at line 88 of file shader_types.h.

## Member Function Documentation

## ◆ GetHash()

constexpr size_t impeller::ShaderStageIOSlot::GetHash | ( |  | ) | const
| inline constexpr

Definition at line 99 of file shader_types.h.

99 {
100 return fml::HashCombine(name, location, set, binding, type, bit_width,
101 vec_size, columns, offset);
102 }

References binding, bit_width, columns, location, name, offset, set, type, and vec_size.

## ◆ operator==()

constexpr bool impeller::ShaderStageIOSlot::operator== | ( | const ShaderStageIOSlot & | other | ) | const
| inline constexpr

Definition at line 104 of file shader_types.h.

104 {
105 return name == other.name && //
106 location == other.location && //
107 set == other.set && //
108 binding == other.binding && //
109 type == other.type && //
110 bit_width == other.bit_width && //
111 vec_size == other.vec_size && //
112 columns == other.columns && //
113 offset == other.offset;
114 }

References binding, bit_width, columns, location, name, offset, set, type, and vec_size.

## Member Data Documentation

## ◆ binding

size_t impeller::ShaderStageIOSlot::binding

Definition at line 92 of file shader_types.h.

Referenced by GetHash(), and operator==().

## ◆ bit_width

size_t impeller::ShaderStageIOSlot::bit_width

Definition at line 94 of file shader_types.h.

Referenced by GetHash(), operator==(), impeller::ReadStageInputFormat(), and impeller::ToVertexDescriptorFormat().

## ◆ columns

size_t impeller::ShaderStageIOSlot::columns

Definition at line 96 of file shader_types.h.

Referenced by GetHash(), operator==(), impeller::ReadStageInputFormat(), and impeller::ToVertexDescriptorFormat().

## ◆ location

size_t impeller::ShaderStageIOSlot::location

Definition at line 90 of file shader_types.h.

Referenced by GetHash(), and operator==().

## ◆ name

const char* impeller::ShaderStageIOSlot::name

Definition at line 89 of file shader_types.h.

Referenced by GetHash(), and operator==().

## ◆ offset

size_t impeller::ShaderStageIOSlot::offset

Definition at line 97 of file shader_types.h.

Referenced by GetHash(), and operator==().

## ◆ set

size_t impeller::ShaderStageIOSlot::set

Definition at line 91 of file shader_types.h.

Referenced by GetHash(), and operator==().

## ◆ type

ShaderType impeller::ShaderStageIOSlot::type

Definition at line 93 of file shader_types.h.

Referenced by GetHash(), operator==(), impeller::ReadStageInputFormat(), and impeller::ToVertexDescriptorFormat().

## ◆ vec_size

size_t impeller::ShaderStageIOSlot::vec_size

Definition at line 95 of file shader_types.h.

Referenced by GetHash(), operator==(), impeller::ReadStageInputFormat(), and impeller::ToVertexDescriptorFormat().

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

- impeller/core/shader_types.h

impeller::ShaderStageIOSlot::binding
size_t binding
Definition: shader_types.h:92
impeller::ShaderStageIOSlot::name
const char * name
Definition: shader_types.h:89
impeller::ShaderStageIOSlot::columns
size_t columns
Definition: shader_types.h:96
impeller::ShaderStageIOSlot::offset
size_t offset
Definition: shader_types.h:97
impeller::ShaderStageIOSlot::bit_width
size_t bit_width
Definition: shader_types.h:94
impeller::ShaderStageIOSlot::set
size_t set
Definition: shader_types.h:91
impeller::ShaderStageIOSlot::location
size_t location
Definition: shader_types.h:90
impeller::ShaderStageIOSlot::type
ShaderType type
Definition: shader_types.h:93
impeller::ShaderStageIOSlot::vec_size
size_t vec_size
Definition: shader_types.h:95