Flutter Engine
The Flutter Engine
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) {}
ShaderStage stage
Definition: shader_key.h:19
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.

◆ stage

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

Definition at line 19 of file shader_key.h.


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