Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skgpu::graphite::PrecompileRTEffect< T > Class Template Reference
Inheritance diagram for skgpu::graphite::PrecompileRTEffect< T >:

Public Member Functions

 PrecompileRTEffect (sk_sp< SkRuntimeEffect > effect, SkSpan< const PrecompileChildOptions > childOptions)
 

Detailed Description

template<typename T>
class skgpu::graphite::PrecompileRTEffect< T >

Definition at line 592 of file FactoryFunctions.cpp.

Constructor & Destructor Documentation

◆ PrecompileRTEffect()

template<typename T >
skgpu::graphite::PrecompileRTEffect< T >::PrecompileRTEffect ( sk_sp< SkRuntimeEffect effect,
SkSpan< const PrecompileChildOptions childOptions 
)
inline

Definition at line 594 of file FactoryFunctions.cpp.

596 : fEffect(std::move(effect)) {
597 fChildOptions.reserve(childOptions.size());
598 for (PrecompileChildOptions c : childOptions) {
599 fChildOptions.push_back({ c.begin(), c.end() });
600 }
601 }
constexpr size_t size() const
Definition: SkSpan_impl.h:95
SkSpan< const PrecompileChildPtr > PrecompileChildOptions

The documentation for this class was generated from the following file: