Flutter Impeller
impeller::EntityPassDelegate Class Referenceabstract

#include <entity_pass_delegate.h>

Inheritance diagram for impeller::EntityPassDelegate:
impeller::DefaultEntityPassDelegate impeller::OpacityPeepholePassDelegate impeller::PaintPassDelegate impeller::testing::TestPassDelegate

Public Member Functions

 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
 

Static Public Member Functions

static std::unique_ptr< EntityPassDelegateMakeDefault ()
 

Detailed Description

Definition at line 19 of file entity_pass_delegate.h.

Constructor & Destructor Documentation

◆ EntityPassDelegate()

impeller::EntityPassDelegate::EntityPassDelegate ( )
default

◆ ~EntityPassDelegate()

impeller::EntityPassDelegate::~EntityPassDelegate ( )
virtualdefault

Member Function Documentation

◆ CanCollapseIntoParentPass()

virtual bool impeller::EntityPassDelegate::CanCollapseIntoParentPass ( EntityPass entity_pass)
pure virtual

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

Implemented in impeller::testing::TestPassDelegate, impeller::OpacityPeepholePassDelegate, impeller::PaintPassDelegate, and impeller::DefaultEntityPassDelegate.

◆ CanElide()

virtual bool impeller::EntityPassDelegate::CanElide ( )
pure virtual

◆ CreateContentsForSubpassTarget()

virtual std::shared_ptr<Contents> impeller::EntityPassDelegate::CreateContentsForSubpassTarget ( std::shared_ptr< Texture target,
const Matrix effect_transform 
)
pure virtual

◆ MakeDefault()

std::unique_ptr< EntityPassDelegate > impeller::EntityPassDelegate::MakeDefault ( )
static

Definition at line 51 of file entity_pass_delegate.cc.

51  {
52  return std::make_unique<DefaultEntityPassDelegate>();
53 }

◆ WithImageFilter()

virtual std::shared_ptr<FilterContents> impeller::EntityPassDelegate::WithImageFilter ( const FilterInput::Variant input,
const Matrix effect_transform 
) const
pure virtual

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