#include <source_options.h>
Public Member Functions | |
| SourceOptions () | |
| ~SourceOptions () | |
| SourceOptions (const std::string &file_name, SourceType source_type=SourceType::kUnknown) | |
Public Attributes | |
| SourceType | type = SourceType::kUnknown |
| TargetPlatform | target_platform = TargetPlatform::kUnknown |
| SourceLanguage | source_language = SourceLanguage::kUnknown |
| std::shared_ptr< fml::UniqueFD > | working_directory |
| std::vector< IncludeDir > | include_dirs |
| std::string | file_name = "main.glsl" |
| std::string | entry_point_name = "main" |
| uint32_t | gles_language_version = 100 |
| std::vector< std::string > | defines |
| bool | json_format = false |
| std::string | metal_version |
| bool | use_half_textures = false |
| Whether half-precision textures should be supported, requiring opengl semantics. Only used on metal targets. More... | |
Definition at line 19 of file source_options.h.
|
default |
|
default |
|
explicit |
| std::vector<std::string> impeller::compiler::SourceOptions::defines |
Definition at line 28 of file source_options.h.
Referenced by impeller::compiler::Compiler::Compiler(), and impeller::compiler::Main().
| std::string impeller::compiler::SourceOptions::entry_point_name = "main" |
Definition at line 26 of file source_options.h.
Referenced by impeller::compiler::testing::CompilerTest::CanCompileAndReflect(), impeller::compiler::SPIRVCompiler::CompileToSPV(), impeller::compiler::CreateCompiler(), and impeller::compiler::Main().
| std::string impeller::compiler::SourceOptions::file_name = "main.glsl" |
Definition at line 25 of file source_options.h.
Referenced by impeller::compiler::SPIRVCompiler::CompileToSPV(), and impeller::compiler::Main().
| uint32_t impeller::compiler::SourceOptions::gles_language_version = 100 |
Definition at line 27 of file source_options.h.
Referenced by impeller::compiler::CreateGLSLCompiler(), and impeller::compiler::Main().
| std::vector<IncludeDir> impeller::compiler::SourceOptions::include_dirs |
Definition at line 24 of file source_options.h.
Referenced by impeller::compiler::Compiler::Compiler(), and impeller::compiler::Main().
| bool impeller::compiler::SourceOptions::json_format = false |
Definition at line 29 of file source_options.h.
Referenced by impeller::compiler::Main().
| std::string impeller::compiler::SourceOptions::metal_version |
Definition at line 30 of file source_options.h.
Referenced by impeller::compiler::Main().
| SourceLanguage impeller::compiler::SourceOptions::source_language = SourceLanguage::kUnknown |
| TargetPlatform impeller::compiler::SourceOptions::target_platform = TargetPlatform::kUnknown |
Definition at line 21 of file source_options.h.
Referenced by impeller::compiler::testing::CompilerTest::CanCompileAndReflect(), impeller::compiler::Compiler::Compiler(), impeller::compiler::CreateCompiler(), impeller::compiler::CreateGLSLCompiler(), and impeller::compiler::Main().
| SourceType impeller::compiler::SourceOptions::type = SourceType::kUnknown |
Definition at line 20 of file source_options.h.
Referenced by impeller::compiler::SPIRVCompiler::CompileToSPV(), impeller::compiler::CreateCompiler(), and impeller::compiler::Main().
| bool impeller::compiler::SourceOptions::use_half_textures = false |
Whether half-precision textures should be supported, requiring opengl semantics. Only used on metal targets.
Definition at line 34 of file source_options.h.
Referenced by impeller::compiler::Compiler::Compiler(), and impeller::compiler::Main().
| std::shared_ptr<fml::UniqueFD> impeller::compiler::SourceOptions::working_directory |
Definition at line 23 of file source_options.h.
Referenced by impeller::compiler::testing::CompilerTest::CanCompileAndReflect(), impeller::compiler::Compiler::Compiler(), and impeller::compiler::Main().