| Flutter Impeller |

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

`#include <shader_key.h>`

## Public Member Functions
constexpr bool | operator() (const ShaderKey &k1, const ShaderKey &k2) const

## Detailed Description

Definition at line 31 of file shader_key.h.

## Member Function Documentation

## ◆ operator()()

constexpr bool impeller::ShaderKey::Equal::operator() | ( | const ShaderKey & | k1,
|  | const ShaderKey & | k2
| ) |  | const
| inline constexpr

Definition at line 32 of file shader_key.h.

32 {
33 return k1.stage == k2.stage && k1.name == k2.name;
34 }

References impeller::ShaderKey::name, and impeller::ShaderKey::stage.

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

- impeller/renderer/shader_key.h