Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
impeller::DefaultEntityPassDelegate Class Referencefinal
Inheritance diagram for impeller::DefaultEntityPassDelegate:
impeller::EntityPassDelegate

Public Member Functions

 DefaultEntityPassDelegate ()=default
 
 ~DefaultEntityPassDelegate () override=default
 
bool CanElide () override
 
bool CanCollapseIntoParentPass (EntityPass *entity_pass) override
 Whether or not this entity pass can be collapsed into the parent. If true, this method may modify the entities for the current pass. More...
 
std::shared_ptr< ContentsCreateContentsForSubpassTarget (std::shared_ptr< Texture > target, const Matrix &effect_transform) override
 
std::shared_ptr< FilterContentsWithImageFilter (const FilterInput::Variant &input, const Matrix &effect_transform) const override
 
- Public Member Functions inherited from impeller::EntityPassDelegate
 EntityPassDelegate ()
 
virtual ~EntityPassDelegate ()
 
virtual bool CanElide ()=0
 
virtual bool CanCollapseIntoParentPass (EntityPass *entity_pass)=0
 Whether or not this entity pass can be collapsed into the parent. If true, this method may modify the entities for the current pass. More...
 
virtual std::shared_ptr< ContentsCreateContentsForSubpassTarget (std::shared_ptr< Texture > target, const Matrix &effect_transform)=0
 
virtual std::shared_ptr< FilterContentsWithImageFilter (const FilterInput::Variant &input, const Matrix &effect_transform) const =0
 

Additional Inherited Members

- Static Public Member Functions inherited from impeller::EntityPassDelegate
static std::unique_ptr< EntityPassDelegateMakeDefault ()
 

Detailed Description

Definition at line 14 of file entity_pass_delegate.cc.

Constructor & Destructor Documentation

◆ DefaultEntityPassDelegate()

impeller::DefaultEntityPassDelegate::DefaultEntityPassDelegate ( )
default

◆ ~DefaultEntityPassDelegate()

impeller::DefaultEntityPassDelegate::~DefaultEntityPassDelegate ( )
overridedefault

Member Function Documentation

◆ CanCollapseIntoParentPass()

bool impeller::DefaultEntityPassDelegate::CanCollapseIntoParentPass ( EntityPass entity_pass)
inlineoverridevirtual

Whether or not this entity pass can be collapsed into the parent. If true, this method may modify the entities for the current pass.

Implements impeller::EntityPassDelegate.

Definition at line 25 of file entity_pass_delegate.cc.

25 {
26 return true;
27 }

◆ CanElide()

bool impeller::DefaultEntityPassDelegate::CanElide ( )
inlineoverridevirtual

Implements impeller::EntityPassDelegate.

Definition at line 22 of file entity_pass_delegate.cc.

22{ return false; }

◆ CreateContentsForSubpassTarget()

std::shared_ptr< Contents > impeller::DefaultEntityPassDelegate::CreateContentsForSubpassTarget ( std::shared_ptr< Texture target,
const Matrix effect_transform 
)
inlineoverridevirtual

Implements impeller::EntityPassDelegate.

Definition at line 30 of file entity_pass_delegate.cc.

32 {
33 // Not possible since this pass always collapses into its parent.
35 }
#define FML_UNREACHABLE()
Definition: logging.h:109

◆ WithImageFilter()

std::shared_ptr< FilterContents > impeller::DefaultEntityPassDelegate::WithImageFilter ( const FilterInput::Variant input,
const Matrix effect_transform 
) const
inlineoverridevirtual

Implements impeller::EntityPassDelegate.

Definition at line 38 of file entity_pass_delegate.cc.

40 {
41 return nullptr;
42 }

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