#include <shader_archive.h>
Definition at line 21 of file shader_archive.h.
◆ ShaderArchive()
◆ ~ShaderArchive()
impeller::ShaderArchive::~ShaderArchive |
( |
| ) |
|
|
default |
◆ GetMapping()
Definition at line 74 of file shader_archive.cc.
76 {
80 auto found = shaders_.find(
key);
81 return found == shaders_.end() ? nullptr : found->second;
82}
◆ GetShaderCount()
size_t impeller::ShaderArchive::GetShaderCount |
( |
| ) |
const |
◆ IsValid()
bool impeller::ShaderArchive::IsValid |
( |
| ) |
const |
◆ IterateAllShaders()
size_t impeller::ShaderArchive::IterateAllShaders |
( |
const std::function< bool(ArchiveShaderType type, const std::string &name, const std::shared_ptr< fml::Mapping > &mapping)> & |
callback | ) |
const |
Definition at line 84 of file shader_archive.cc.
88 {
90 return 0u;
91 }
93 for (const auto& shader : shaders_) {
95 if (!
callback(shader.first.type, shader.first.name, shader.second)) {
96 break;
97 }
98 }
100}
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
The documentation for this class was generated from the following files: