#include <shader_archive_writer.h>
Public Member Functions | |
| ShaderArchiveWriter () | |
| ~ShaderArchiveWriter () | |
| bool | AddShaderAtPath (const std::string &path) |
| bool | AddShader (ArchiveShaderType type, std::string name, std::shared_ptr< fml::Mapping > mapping) |
| std::shared_ptr< fml::Mapping > | CreateMapping () const |
Definition at line 17 of file shader_archive_writer.h.
|
default |
|
default |
References type.
| bool impeller::ShaderArchiveWriter::AddShader | ( | ArchiveShaderType | type, |
| std::string | name, | ||
| std::shared_ptr< fml::Mapping > | mapping | ||
| ) |
Definition at line 83 of file shader_archive_writer.cc.
Referenced by AddShaderAtPath(), and impeller::testing::TEST().
| bool impeller::ShaderArchiveWriter::AddShaderAtPath | ( | const std::string & | path | ) |
Definition at line 36 of file shader_archive_writer.cc.
References AddShader(), fml::FileMapping::CreateReadOnly(), FML_LOG, and impeller::InferShaderTypefromFileExtension().
Referenced by impeller::Main().
| std::shared_ptr< fml::Mapping > impeller::ShaderArchiveWriter::CreateMapping | ( | ) | const |
Definition at line 107 of file shader_archive_writer.cc.
References impeller::ToStage().
Referenced by impeller::Main(), and impeller::testing::TEST().