Flutter Engine
 
Loading...
Searching...
No Matches
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 30 of file shader_key.h.

Member Function Documentation

◆ operator()()

constexpr bool impeller::ShaderKey::Equal::operator() ( const ShaderKey k1,
const ShaderKey k2 
) const
inlineconstexpr

Definition at line 31 of file shader_key.h.

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

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


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