#include <FactoryFunctions.h>
Definition at line 168 of file FactoryFunctions.h.
◆ PrecompileChildPtr() [1/5]
skgpu::graphite::PrecompileChildPtr::PrecompileChildPtr |
( |
| ) |
|
|
default |
◆ PrecompileChildPtr() [2/5]
◆ PrecompileChildPtr() [3/5]
◆ PrecompileChildPtr() [4/5]
◆ PrecompileChildPtr() [5/5]
◆ base()
◆ blender()
Definition at line 1340 of file FactoryFunctions.cpp.
1340 {
1342 ? static_cast<PrecompileBlender*>(fChild.get())
1343 : nullptr;
1344}
◆ colorFilter()
Definition at line 1334 of file FactoryFunctions.cpp.
1334 {
1336 ? static_cast<PrecompileColorFilter*>(fChild.get())
1337 : nullptr;
1338}
◆ shader()
Definition at line 1328 of file FactoryFunctions.cpp.
1328 {
1330 ? static_cast<PrecompileShader*>(fChild.get())
1331 : nullptr;
1332}
◆ type()
Definition at line 1312 of file FactoryFunctions.cpp.
1312 {
1313 if (fChild) {
1314 switch (fChild->type()) {
1316 return SkRuntimeEffect::ChildType::kShader;
1318 return SkRuntimeEffect::ChildType::kColorFilter;
1320 return SkRuntimeEffect::ChildType::kBlender;
1321 default:
1322 break;
1323 }
1324 }
1325 return std::nullopt;
1326}
The documentation for this class was generated from the following files: