| Flutter Impeller |

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

`#include <shader_key.h>`

## Classes
struct | Equal
struct | Hash

## Public Member Functions
| ShaderKey (std::string_view p_name, ShaderStage p_stage)

## Public Attributes
std::string | name
ShaderStage | stage = ShaderStage::kUnknown

## Detailed Description

Definition at line 17 of file shader_key.h.

## Constructor & Destructor Documentation

## ◆ ShaderKey()

impeller::ShaderKey::ShaderKey | ( | std::string_view | p_name,
|  | ShaderStage | p_stage
| ) |  |
| inline

Definition at line 21 of file shader_key.h.

22 : name({p_name.data(), p_name.size()}), stage(p_stage) {}
impeller::ShaderKey::stage
ShaderStage stage
Definition: shader_key.h:19
impeller::ShaderKey::name
std::string name
Definition: shader_key.h:18

## Member Data Documentation

## ◆ name

std::string impeller::ShaderKey::name

Definition at line 18 of file shader_key.h.

Referenced by impeller::ShaderKey::Equal::operator()(), and impeller::ShaderKey::Hash::operator()().

## ◆ stage

ShaderStage impeller::ShaderKey::stage = ShaderStage::kUnknown

Definition at line 19 of file shader_key.h.

Referenced by impeller::ShaderKey::Equal::operator()(), and impeller::ShaderKey::Hash::operator()().

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

- impeller/renderer/shader_key.h