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 |
Definition at line 247 of file spirv_compiler.cc.
250 {
251 return includer_->GetInclude(requested_source,
253 requesting_source,
254 include_depth
255 );
256 }
◆ Make()
static std::unique_ptr< UniqueIncluder > impeller::compiler::UniqueIncluder::Make |
( |
std::shared_ptr< Includer > |
includer | ) |
|
|
inlinestatic |
Definition at line 237 of file spirv_compiler.cc.
238 {
239 return std::unique_ptr<UniqueIncluder>(
240 new UniqueIncluder(std::move(includer)));
241 }
◆ ReleaseInclude()
void impeller::compiler::UniqueIncluder::ReleaseInclude |
( |
shaderc_include_result * |
data | ) |
|
|
inlineoverride |
Definition at line 259 of file spirv_compiler.cc.
259 {
260 return includer_->ReleaseInclude(
data);
261 }
std::shared_ptr< const fml::Mapping > data
The documentation for this class was generated from the following file: