Wraps a shared includer so unique includers may be created to satisfy the shaderc API. This is a simple proxy object and does nothing.
More...
|
| ~UniqueIncluder ()=default |
|
shaderc_include_result * | GetInclude (const char *requested_source, shaderc_include_type type, const char *requesting_source, size_t include_depth) override |
|
void | ReleaseInclude (shaderc_include_result *data) override |
|
Wraps a shared includer so unique includers may be created to satisfy the shaderc API. This is a simple proxy object and does nothing.
Definition at line 235 of file spirv_compiler.cc.
◆ ~UniqueIncluder()
impeller::compiler::UniqueIncluder::~UniqueIncluder |
( |
| ) |
|
|
default |
◆ GetInclude()
shaderc_include_result* impeller::compiler::UniqueIncluder::GetInclude |
( |
const char * |
requested_source, |
|
|
shaderc_include_type |
type, |
|
|
const char * |
requesting_source, |
|
|
size_t |
include_depth |
|
) |
| |
|
inlineoverride |
◆ Make()
static std::unique_ptr<UniqueIncluder> impeller::compiler::UniqueIncluder::Make |
( |
std::shared_ptr< Includer > |
includer | ) |
|
|
inlinestatic |
◆ ReleaseInclude()
void impeller::compiler::UniqueIncluder::ReleaseInclude |
( |
shaderc_include_result * |
data | ) |
|
|
inlineoverride |
Definition at line 260 of file spirv_compiler.cc.
261 return includer_->ReleaseInclude(
data);
std::shared_ptr< const fml::Mapping > data
References data.
The documentation for this class was generated from the following file: