Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skottie::internal::MotionBlurEffect::AutoInvalBlocker Class Reference

Public Member Functions

 AutoInvalBlocker (const MotionBlurEffect *mb, const sk_sp< RenderNode > &child)
 
 ~AutoInvalBlocker ()
 

Detailed Description

Definition at line 20 of file MotionBlurEffect.cpp.

Constructor & Destructor Documentation

◆ AutoInvalBlocker()

skottie::internal::MotionBlurEffect::AutoInvalBlocker::AutoInvalBlocker ( const MotionBlurEffect mb,
const sk_sp< RenderNode > &  child 
)
inline

Definition at line 22 of file MotionBlurEffect.cpp.

23 : fMBNode(const_cast<MotionBlurEffect*>(mb))
24 , fChild(child) {
25 fMBNode->unobserveInval(fChild);
26 }
void unobserveInval(const sk_sp< Node > &)
Definition: SkSGNode.cpp:84

◆ ~AutoInvalBlocker()

skottie::internal::MotionBlurEffect::AutoInvalBlocker::~AutoInvalBlocker ( )
inline

Definition at line 28 of file MotionBlurEffect.cpp.

28 {
29 fMBNode->observeInval(fChild);
30 }
void observeInval(const sk_sp< Node > &)
Definition: SkSGNode.cpp:61

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